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

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

@@ -663,12 +663,14 @@ export default {
           if (res.data.code == '0') {
             const data = res.data.data;
             let text = '';
-            if (data.unMatchList.length > 0) {
-              data.unMatchList.forEach(it => {
+            if (data.unMatchList.length > 0 || data.disableList.length > 0 ) {
+              let arr = data.unMatchList.concat(data.disableList)
+              console.log(arr)
+              arr.forEach(it => {
                 text += it.conceptLibName + '\n';
               });
               this.$message({
-                message: '列表中存在非标准术语',
+                message: '列表中存在非标准术语或禁用术语',
                 type: 'error'
               });
             }