소스 검색

容错处理

luolei 4 년 전
부모
커밋
b70d9c2f1c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/utils/tools.js

+ 1 - 1
src/utils/tools.js

@@ -934,7 +934,7 @@ function getEMRParams(){
   tempdrug = tempdrug.filter((item)=>!item.check)
   let tempoperation = newAdvice.labelListSmall
   tempoperation = tempoperation.filter((item)=>!item.check)
-  let tempblood = newAdvice.labelListBlood
+  let tempblood = newAdvice.labelListBlood||[]
   tempblood = tempblood.filter((item)=>!item.check)
   let sex = formatFormParmas('patientSex', patInfoData);
   const obj = {