feat(团队收入记录): 默认金额修改为0

This commit is contained in:
hzj 2025-11-05 18:12:14 +08:00
parent 7880b6fa51
commit a7d86324af

View File

@ -356,7 +356,7 @@ const getStatusClass = (status) => {
//
const formatDiamondValue = (value) => {
if (!value || value === '0') return '1234567890'
if (!value || value === '0') return '0'
//
if (typeof value === 'string' && (value.includes('K') || value.includes('M'))) {
@ -364,7 +364,7 @@ const formatDiamondValue = (value) => {
}
const numValue = parseInt(value)
if (isNaN(numValue)) return '1234567890'
if (isNaN(numValue)) return '0'
return numValue.toLocaleString()
}