Explorar el Código

Finish Hotfix-zh-25

howie hace 3 años
padre
commit
2740f1637c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/supply/policy/components/retail_form.vue

+ 1 - 1
src/views/supply/policy/components/retail_form.vue

@@ -1210,7 +1210,7 @@ export default {
           this.multipleSelections = new Array(index).fill([])
         } else {
           for (let i = 0; i < this.multipleSelections.length; i++) {
-            if (!this.multipleSelections[i] && !this.multipleSelections[i].length) {
+            if (!this.multipleSelections[i] || !this.multipleSelections[i].length) {
               this.multipleSelections[i] = []
             }
           }