fix: 基础信息名称显示长度限制

--bug=1013434 --user=陈建星 【测试跟踪】功能用例名称输入过长,点击保存 提示信息不正确 https://www.tapd.cn/55049933/s/1163976
This commit is contained in:
chenjianxing 2022-05-25 16:38:50 +08:00 committed by f2c-ci-robot[bot]
parent ef1737a3da
commit 819e224115
2 changed files with 13 additions and 2 deletions

View File

@ -8,7 +8,12 @@
ref="currentScenario">
<!-- 基础信息 -->
<el-form-item :label="$t('commons.name')" prop="name">
<el-input class="ms-scenario-input" size="small" v-model="currentScenario.name"/>
<el-input
class="ms-scenario-input"
size="small"
v-model="currentScenario.name"
maxlength="100"
show-word-limit/>
</el-form-item>
<el-form-item :label="$t('test_track.module.module')" prop="apiScenarioModuleId">

View File

@ -10,7 +10,13 @@
:placeholder="$t('test_track.case.input_name')"
:label="$t('test_track.case.name')"
prop="name">
<el-input :disabled="readOnly" v-model="form.name" size="small" class="ms-case-input"></el-input>
<el-input
v-model="form.name"
size="small"
class="ms-case-input"
maxlength="225"
show-word-limit
:disabled="readOnly"/>
</el-form-item>
</el-row>