首页容量保留俩位小数
This commit is contained in:
parent
1983a85a2e
commit
805a6058ee
@ -475,7 +475,7 @@ const StatusListData = () => {
|
|||||||
|
|
||||||
propertiesToFormat.forEach(property => {
|
propertiesToFormat.forEach(property => {
|
||||||
if (currentDayStatus.value[property] !== null && currentDayStatus.value[property] !== undefined) {
|
if (currentDayStatus.value[property] !== null && currentDayStatus.value[property] !== undefined) {
|
||||||
currentDayStatus.value[property] = Number(currentDayStatus.value[property].toFixed(0));
|
currentDayStatus.value[property] = Number(currentDayStatus.value[property].toFixed(2));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user