修改积分显示样式
This commit is contained in:
parent
95e6f81713
commit
8a7b036bd9
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user