Prechádzať zdrojové kódy

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

zhangxc 6 rokov pred
rodič
commit
cac8bf7949

+ 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,