浏览代码

Merge branch 'test'

xinyan 7 月之前
父节点
当前提交
64c600ffc9
共有 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 {