浏览代码

解决情况搜索内容仍有结果出现(2618)

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

+ 3 - 1
src/components/medicalTerm/AddAssistCheckMultRelation.vue

@@ -265,7 +265,9 @@ import apis from '@api/medicalTerm.js';
         api.getConceptInfoAssay(param).then((res) => {
           const { data } = res
           if(data.code == '0') {
-            this.conceptList = data.data
+            if(this.conceptText.trim()) {
+              this.conceptList = data.data
+            }
           }
         })
       },