mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 08:17:33 +00:00
fix: update
This commit is contained in:
parent
5ffb2715cd
commit
0081a012fd
@ -399,7 +399,7 @@ export function aggregation(val: number, config: { calculation?: string }): numb
|
||||
data = (val / 10000).toFixed(2);
|
||||
break;
|
||||
case Calculations.CPM5D:
|
||||
data = val / 100000 < 1 ? (val / 100000).toFixed(5) : (val / 100000).toFixed(2);
|
||||
data = val / 100000 < 1 && val / 100000 !== 0 ? (val / 100000).toFixed(5) : (val / 100000).toFixed(2);
|
||||
break;
|
||||
case Calculations.ConvertSeconds:
|
||||
data = dayjs(val * 1000).format("YYYY-MM-DD HH:mm:ss");
|
||||
|
Loading…
Reference in New Issue
Block a user