人数,大于1万时,显示1W

This commit is contained in:
daihh
2022-10-31 14:59:24 +08:00
parent 554a739530
commit 72c747b236

View File

@@ -420,8 +420,10 @@ export function formatUserNumber(num) {
return rsNum+'+';
}
if(num>10000){
rsNum=Math.round((num)/10000)*10000;
return rsNum+'+';
// rsNum=Math.round((num)/10000)*10000;
// return rsNum+'+';
rsNum=Math.round((num)/10000);
return rsNum+'W+';
}
return num;
}