Эх сурвалжийг харах

Merge branch 'master' of http://36.137.93.232:3000/hf/byte-sailing-new

asd26269546 2 жил өмнө
parent
commit
62015b642f

+ 1 - 1
src/components/byForm/index.vue

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