mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-03 16:25:23 +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);
|
data = (val / 10000).toFixed(2);
|
||||||
break;
|
break;
|
||||||
case Calculations.CPM5D:
|
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;
|
break;
|
||||||
case Calculations.ConvertSeconds:
|
case Calculations.ConvertSeconds:
|
||||||
data = dayjs(val * 1000).format("YYYY-MM-DD HH:mm:ss");
|
data = dayjs(val * 1000).format("YYYY-MM-DD HH:mm:ss");
|
||||||
|
Loading…
Reference in New Issue
Block a user