Sfoglia il codice sorgente

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

asd26269546 2 anni fa
parent
commit
62015b642f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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'"