mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
人数,大于1万时,显示1W
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user