Parcourir la source

Merge branch 'master' of http://120.26.64.82:10880/BFFE/dz2.1

chenjun il y a 1 an
Parent
commit
4fc608a855
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
           }
           }
         }
         }