瀏覽代碼

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 {