zhouna hace 4 años
padre
commit
677de549fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,
   };