瀏覽代碼

修改多层关联维护提示信息

zhangxc 6 年之前
父節點
當前提交
cac8bf7949
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/components/icss/AddMedicalMultRelation.vue

+ 2 - 1
src/components/icss/AddMedicalMultRelation.vue

@@ -154,8 +154,9 @@ import api from '@api/icss.js';
         this.openSearch(e);
       },
       confirm() { 
-        if(this.list[0].nodeList.length == 0) {
+        if(!this.list[0] || this.list[0].nodeList.length == 0) {
           this.message('请输入数据信息');
+          return
         }
         const param = {
           conceptId: this.list[0].conceptId,