fix: 临时去掉实体详情的安全、性能事件相关接口请求,并修改测试用例

This commit is contained in:
刘洪洪
2023-09-13 15:36:21 +08:00
parent e18d50f11f
commit 088db8c488
5 changed files with 27 additions and 11 deletions

View File

@@ -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 : '-'
}
}