mirror of
https://github.com/fankes/komari-theme-purcarte.git
synced 2025-10-21 04:49:23 +08:00
fix: 修复在线状态显示和负载单位
This commit is contained in:
@@ -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() || "-";
|
||||
}
|
||||
|
Reference in New Issue
Block a user