zhaoke před 1 rokem
rodič
revize
6ba5715375
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
           }
         }