bug 78398

This commit is contained in:
赵霄
2023-11-10 19:05:23 +08:00
parent c8c2bc83ba
commit 6b5e58447c
@@ -15,7 +15,7 @@
<!--特点-->
<a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('docTool.customComparison.specialty')">
<div v-for="(item, index) in specialtyList" :key="index" class="form-wrapper">
<a-input v-model="specialtyList[index].cellTitle"
<a-input v-model.trim="specialtyList[index].cellTitle"
:maxLength="50"
@change="e => {e.target.value = (e.target.value + '').trim()}" />
<a-button @click="addSpecialty(index)" icon='plus'></a-button>
@@ -27,7 +27,7 @@
<!--比对项-->
<a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('docTool.customComparison.comparisonItem')">
<div v-for="(item, index) in comparisonItemList" :key="index" class="form-wrapper">
<a-input v-model="comparisonItemList[index].cellTitle"
<a-input v-model.trim="comparisonItemList[index].cellTitle"
:maxLength="50"
@change="e => {e.target.value = (e.target.value + '').trim()}" />
<a-button @click="addComparisonItem(index)" icon='plus'></a-button>