Ver código fonte

Finish Hotfix-zh-27

howie 3 anos atrás
pai
commit
5d00d93d2e
1 arquivos alterados com 1 adições e 1 exclusões
  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] = []
             }
           }