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

+ 1 - 1
src/utils/tools.js

@@ -222,7 +222,7 @@ const formatTextInfo = (baseList) =>{console.log(1,baseList)
     });
   let diagnosticTcmList = {
       diagnosticList: baseList.diagnosticList.tcmList,
-      diagnosticStrNoType: otherIndex.tcmDiag+otherIndex.tcmSyndrome,
+      diagnosticStrNoType: otherIndex?(otherIndex.tcmDiag+otherIndex.tcmSyndrome):'',
       diagnosticStr: str,
       diseaseName: otherIndex,
   };