首页容量保留俩位小数

This commit is contained in:
fengrong 2024-11-08 09:33:19 +08:00
parent 1983a85a2e
commit 805a6058ee

View File

@ -475,7 +475,7 @@ const StatusListData = () => {
propertiesToFormat.forEach(property => {
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 {