fix: 临时去掉实体详情的安全、性能事件相关接口请求,并修改测试用例
This commit is contained in:
@@ -1300,7 +1300,7 @@ export function numberWithCommas (num) {
|
||||
if (num) {
|
||||
return num.toString().replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g, ',')
|
||||
} else {
|
||||
return '-'
|
||||
return (num === '0' || num === 0) ? num : '-'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user