diff --git a/src/utils/formatter.ts b/src/utils/formatter.ts index 1bb131e2f..e7e75007e 100644 --- a/src/utils/formatter.ts +++ b/src/utils/formatter.ts @@ -11,6 +11,9 @@ export const fenToYuanFormat = ( return `¥${fenToYuan(cellValue)}` } export const accountantFormart = (row, column, cellValue) => { + if(!cellValue){ + return '' + } cellValue = cellValue + '' || '' cellValue = Number(cellValue).toFixed(2) let x = cellValue.split('.')