Parcourir la source

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

asd26269546 il y a 2 ans
Parent
commit
62015b642f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/byForm/index.vue

+ 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'"