修改积分显示样式

This commit is contained in:
CounterFire2023 2024-04-15 17:47:46 +08:00
parent 95e6f81713
commit 8a7b036bd9

View File

@ -10,7 +10,7 @@ export const isValidShareCode = (str: string) => {
export const formatNumShow = (num: number) => {
if (num >= 10) {
return num.toString()
return Math.round(num) + ''
} else if (num === 0) {
return '0'
} else {