feat: 开启演示模式 增加数据

This commit is contained in:
huanghao1412 2024-07-15 18:03:47 +08:00
parent 6eaa39045e
commit 1115443b1a

View File

@ -73,8 +73,8 @@ const jumpToMachineRoom = (row: any) => {
}
}
const toTwoDecimalPlaces = (num: number) => {
return parseFloat(num.toFixed(2));
const toTwoDecimalPlaces = (num: number, digit = 0) => {
return parseFloat(num.toFixed(digit));
}
const getData = () => {