NEZ-2877 fix:修复单位为none时 处理数据null报错的问题

This commit is contained in:
zhangyu
2023-06-15 10:44:58 +08:00
parent 8ef46f1ac0
commit a2925a4e00

View File

@@ -10,6 +10,9 @@ function none (value, index) {
if (!numberWithEConvent(scientificNotationValue)) {
return scientificNotationValue
}
if (isNaN(value) || value=== null) {
return value
}
return keepDoubleNumber(value)
}
function short (value, index, type = 1, dot) {