Selaa lähdekoodia

Finish Hotfix-zh-26

howie 3 vuotta sitten
vanhempi
commit
105617867d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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.length) {
+            if (!this.multipleSelections[i] && !this.multipleSelections[i].length) {
               this.multipleSelections[i] = []
             }
           }