소스 검색

过滤数组去重

wyq 3 년 전
부모
커밋
4f3a1fc332
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/components/knowledgeExtra/AddTermSet.vue

+ 1 - 0
src/components/knowledgeExtra/AddTermSet.vue

@@ -577,6 +577,7 @@ export default {
         this.form.concepts.push(concepts);
       });
       this.form.concepts = this.unique(this.form.concepts);
+      this.excludedConceptIds = this.unique(this.excludedConceptIds);
       this.leftList = this.form.concepts;
       this.conceptList = [];
       this.multipleSelection = [];