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(() => {