Explorar el Código

过滤数组去重

wyq hace 3 años
padre
commit
4f3a1fc332
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 = [];