mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
修正排序功能,默认以用户设定的排序ID从小到大排序,可增可减,最小为0
This commit is contained in:
@@ -28,6 +28,5 @@ function numberFormat(value) {
|
||||
param.value = ((value / Math.pow(k, i))).toFixed(2);
|
||||
param.unit = sizes[i];
|
||||
}
|
||||
console.log(param)
|
||||
return `${param.value}${param.unit}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user