浏览代码

过滤数组去重

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 = [];