fix: 自定义ID输入框过滤输入的首尾空白字符#1005283
--bug=1005283 --user=lyh 【系统设置-项目】【项目管理-更新】自定义id为空格,依然可以保存 https://www.tapd.cn/55049933/s/1026776
This commit is contained in:
parent
2b7109ab85
commit
ea927a82fc
|
@ -90,7 +90,7 @@
|
|||
</el-col>
|
||||
<el-col :span="7" v-if="customNum">
|
||||
<el-form-item label="ID" prop="customNum">
|
||||
<el-input v-model="currentScenario.customNum" size="small"></el-input>
|
||||
<el-input v-model.trim="currentScenario.customNum" size="small"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<el-row v-if="customNum">
|
||||
<el-col :span="7">
|
||||
<el-form-item label="ID" :label-width="formLabelWidth" prop="customNum">
|
||||
<el-input :disabled="readOnly" v-model="form.customNum" size="small" class="ms-case-input"></el-input>
|
||||
<el-input :disabled="readOnly" v-model.trim="form.customNum" size="small" class="ms-case-input"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
Loading…
Reference in New Issue