소스 검색

Merge branch 'xinyan' into test

xinyan 7 달 전
부모
커밋
3542a987c7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/reportManage/dataCenter/utils/columns.ts

+ 1 - 1
src/views/reportManage/dataCenter/utils/columns.ts

@@ -313,7 +313,7 @@ function formatEmptyCell(cellValue) {
 }
 
 function formatRateCell(cellValue) {
-  if (cellValue ==='nan%'){
+  if (cellValue ==='nan%'|| cellValue === null || cellValue === undefined || cellValue === ''){
     return '--';
   }
   else {