zhaoke 1 rok temu
rodzic
commit
6ba5715375
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {
         if (Object.hasOwnProperty.call(this.tableForm, key)) {
           const element = this.tableForm[key]
-          if (!element) {
+          if (!element && element != 0) {
             this.tableForm[key] = null
           }
         }