zhaoke hace 1 año
padre
commit
6ba5715375
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
           }
         }