mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
人数,大于1万时,显示1W
This commit is contained in:
@@ -420,8 +420,10 @@ export function formatUserNumber(num) {
|
|||||||
return rsNum+'+';
|
return rsNum+'+';
|
||||||
}
|
}
|
||||||
if(num>10000){
|
if(num>10000){
|
||||||
rsNum=Math.round((num)/10000)*10000;
|
// rsNum=Math.round((num)/10000)*10000;
|
||||||
return rsNum+'+';
|
// return rsNum+'+';
|
||||||
|
rsNum=Math.round((num)/10000);
|
||||||
|
return rsNum+'W+';
|
||||||
}
|
}
|
||||||
return num;
|
return num;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user