Przeglądaj źródła

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

zhangxc 6 lat temu
rodzic
commit
cac8bf7949
1 zmienionych plików z 2 dodań i 1 usunięć
  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,