소스 검색

Finish Hotfix-zh-27

howie 3 년 전
부모
커밋
5d00d93d2e
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[i].length) {
+            if (!this.multipleSelections[i] || !this.multipleSelections[i].length) {
               this.multipleSelections[i] = []
             }
           }