fix: 修复场景转换性能测试时名称长度过长的问题

--bug=1009058 --user=刘瑞斌 【性能测试】场景名称很长,转性能测试保存报错 https://www.tapd.cn/55049933/s/1084069
This commit is contained in:
CaptainB 2021-12-21 11:39:41 +08:00 committed by shiziyuan9527
parent 5c5fd5102b
commit 6cdc67b339
2 changed files with 4 additions and 17 deletions

View File

@ -69,3 +69,6 @@ CREATE TABLE IF NOT EXISTS `api_scenario_report_structure`
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_app_manager', 'PROJECT_APP_MANAGER:READ+EDIT', 'PROJECT_APP_MANAGER');
ALTER TABLE load_test
MODIFY name VARCHAR(255) NOT NULL COMMENT 'Test name';

View File

@ -9,27 +9,11 @@
<el-input :disabled="isReadOnly" :placeholder="$t('load_test.input_name')" v-model="test.name"
class="input-with-select"
size="small"
maxlength="30" show-word-limit/>
maxlength="255" show-word-limit/>
</el-form-item>
</el-form>
</el-col>
<!-- <el-col :span="6">
<el-form>
<el-form-item :label="$t('api_test.automation.follow_people')">
<el-select v-model="test.follows"
clearable
:placeholder="$t('api_test.automation.follow_people')" multiple filterable size="small">
<el-option
v-for="item in maintainerOptions"
:key="item.id"
:label="item.id + ' (' + item.name + ')'"
:value="item.id">
</el-option>
</el-select>
</el-form-item>
</el-form>
</el-col>-->
<el-col :span="12">
<el-tooltip :content="$t('commons.follow')" placement="bottom" effect="dark" v-if="!showFollow">
<i class="el-icon-star-off" style="color: #783987; font-size: 25px; margin-right: 15px;cursor: pointer;position: relative; top: 5px; " @click="saveFollow" />