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'
               });
             }