소스 검색

修改诊断依据校验

zhangxc 5 년 전
부모
커밋
04638010e7
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/components/diagBase/AddDiagBase.vue

+ 1 - 3
src/components/diagBase/AddDiagBase.vue

@@ -590,8 +590,7 @@
                     const labVerifyData = this.labVerifyData(labArr,type)
                     if(labVerifyData) {
                          return labVerifyData.then((data) =>{
-                            
-                            if(this.hasNoUniqueName||!data) {
+                            if(this.hasNoUniqueName||data===false) {
                             }else {
                                 return this.verifyDiagBase(type)
                             }
@@ -826,7 +825,6 @@
                     this.disFeatureListResult = JSON.parse(JSON.stringify(this.disFeatureListResult))
                     
                 } else {
-                    console.log('asdddddd')
                     this.warning(res.data.msg)
                     return false
                 }