Selaa lähdekoodia

过滤数组去重

wyq 3 vuotta sitten
vanhempi
commit
4f3a1fc332
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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 = [];