mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
同步
This commit is contained in:
@@ -278,7 +278,7 @@ export function testType(type) { //此方法移到tools中
|
||||
}
|
||||
export function toScoreTow(score) {// 返回两位小数
|
||||
if (!score) {
|
||||
return '0';
|
||||
return '无';
|
||||
}
|
||||
if((''+score).indexOf('.')>-1){
|
||||
return score.toFixed(2);
|
||||
|
||||
Reference in New Issue
Block a user