Procházet zdrojové kódy

过滤数组去重

wyq před 3 roky
rodič
revize
4f3a1fc332
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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 = [];