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 = {
   let diagnosticTcmList = {
       diagnosticList: baseList.diagnosticList.tcmList,
       diagnosticList: baseList.diagnosticList.tcmList,
-      diagnosticStrNoType: otherIndex.tcmDiag+otherIndex.tcmSyndrome,
+      diagnosticStrNoType: otherIndex?(otherIndex.tcmDiag+otherIndex.tcmSyndrome):'',
       diagnosticStr: str,
       diagnosticStr: str,
       diseaseName: otherIndex,
       diseaseName: otherIndex,
   };
   };