|
@@ -28,7 +28,7 @@
|
|
>
|
|
>
|
|
<el-input
|
|
<el-input
|
|
v-if="i.type == 'input'"
|
|
v-if="i.type == 'input'"
|
|
- v-model="formData[i.prop]"
|
|
+ v-model.trim="formData[i.prop]"
|
|
:placeholder="i.placeholder || '请输入'"
|
|
:placeholder="i.placeholder || '请输入'"
|
|
@input="(e) => commonsEmit(e, i)"
|
|
@input="(e) => commonsEmit(e, i)"
|
|
:type="i.itemType ? i.itemType : 'text'"
|
|
:type="i.itemType ? i.itemType : 'text'"
|