zhaoke 1 éve
szülő
commit
6ba5715375
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/components/publicPageForm/index.vue

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

@@ -375,7 +375,7 @@ export default {
       for (const key in this.tableForm) {
       for (const key in this.tableForm) {
         if (Object.hasOwnProperty.call(this.tableForm, key)) {
         if (Object.hasOwnProperty.call(this.tableForm, key)) {
           const element = this.tableForm[key]
           const element = this.tableForm[key]
-          if (!element) {
+          if (!element && element != 0) {
             this.tableForm[key] = null
             this.tableForm[key] = null
           }
           }
         }
         }