fix: 修复在线状态显示和负载单位

This commit is contained in:
Montia37
2025-09-05 17:07:03 +08:00
parent 62c0a07858
commit 4cb0fe3e46
3 changed files with 15 additions and 11 deletions

View File

@@ -48,7 +48,7 @@ export const CustomTooltip = ({
if (series?.tooltipFormatter) {
value = series.tooltipFormatter(value, item.payload);
} else if (typeof value === "number") {
value = `${value.toFixed(0)}ms`;
value = `${value.toFixed(0)}`;
} else {
value = value?.toString() || "-";
}