浏览代码

术语集合

wyq 3 年之前
父节点
当前提交
4ef67360b1
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/components/knowledgeExtra/AddTermSet.vue

+ 3 - 2
src/components/knowledgeExtra/AddTermSet.vue

@@ -510,6 +510,7 @@ export default {
       };
       this.excludedConceptIds.push(row.conceptId);
       this.form.concepts.push(concepts);
+      this.leftList = this.form.concepts
       this.conceptList = [];
       this.$nextTick(() => {
         setTimeout(() => {
@@ -532,11 +533,11 @@ export default {
         let concepts = {
           conceptId: it.conceptId,
           conceptLibType: it.libType ? it.libType : it.conceptLibType,
-          conceptLibName: it.conceptName
+          conceptLibName: it.conceptName? it.conceptName : it.conceptLibName,
         };
         this.excludedConceptIds.push(it.conceptId);
-        this.leftList.push(concepts);
         this.form.concepts.push(concepts);
+        this.leftList = this.form.concepts
       });
       this.conceptList = [];
       this.$nextTick(() => {