Browse Source

✨ feat<任务管理>:合并展示-计划销售额数据
--数据样式美化

xinyan 7 months ago
parent
commit
4e0dcb7d08
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) {
-  if (cellValue ==='nan%'){
+  if (cellValue ==='nan%'|| cellValue === null || cellValue === undefined || cellValue === ''){
     return '--';
   }
   else {