zhouna vor 4 Jahren
Ursprung
Commit
677de549fc
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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,
   };