Browse Source

Merge branch 'xinyan' into test

xinyan 7 months ago
parent
commit
3542a987c7
1 changed files with 1 additions and 1 deletions
  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) {
 function formatRateCell(cellValue) {
-  if (cellValue ==='nan%'){
+  if (cellValue ==='nan%'|| cellValue === null || cellValue === undefined || cellValue === ''){
     return '--';
     return '--';
   }
   }
   else {
   else {