Kaynağa Gözat

修改接口请求

wyq 3 yıl önce
ebeveyn
işleme
758b816736
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      src/components/knowledgeExtra/AddTermSet.vue

+ 4 - 4
src/components/knowledgeExtra/AddTermSet.vue

@@ -410,10 +410,6 @@ export default {
       this.title = '术语集合内容维护-' + '修改';
       this.getInfo(param.id);
       this.sign = 2;
-      this.$nextTick(() => {
-        this.getIds(this.form.concepts);
-        this.getTreeSearchList();
-      });
     }
     setTimeout(() => {
       this.startCount = this.editCount;
@@ -446,6 +442,10 @@ export default {
             this.form.collectionId = data.collectionId;
             this.form.collectionRemark = data.collectionRemark;
             this.leftList = data.concepts;
+            this.$nextTick(() => {
+              this.getIds(this.form.concepts);
+              this.getTreeSearchList();
+            });
           }
         })
         .catch(error => {