Commit d247f1a5 authored by shiziyuan9527's avatar shiziyuan9527 Committed by 刘瑞斌
Browse files

fix: 自定义ID输入框过滤输入的首尾空白字符#1005283

--bug=1005283 --user=lyh 【系统设置-项目】【项目管理-更新】自定义id为空格,依然可以保存
https://www.tapd.cn/55049933/s/1026776
parent 0bf5d307
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment