howie 3 лет назад
Родитель
Сommit
9c4ac892c3
1 измененных файлов с 1 добавлено и 1 удалено
  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] = []
             }
           }