From 0d4afd8cd4797eb1473aad90e444df8186421ab7 Mon Sep 17 00:00:00 2001 From: Montia37 Date: Tue, 9 Sep 2025 21:47:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/instance/PingChart.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pages/instance/PingChart.tsx b/src/pages/instance/PingChart.tsx index 2d736e7..31073d4 100644 --- a/src/pages/instance/PingChart.tsx +++ b/src/pages/instance/PingChart.tsx @@ -99,7 +99,6 @@ const PingChart = memo(({ node, hours }: PingChartProps) => { } let full = Object.values(grouped).sort((a: any, b: any) => a.time - b.time); - console.log("Full :", full); if (hours !== 0) { const task = pingHistory.tasks; @@ -228,8 +227,6 @@ const PingChart = memo(({ node, hours }: PingChartProps) => { }); }, [pingHistory?.records, sortedTasks, timeRange]); - console.log("chartData:", chartData); - return (
{loading && ( @@ -456,7 +453,6 @@ const PingChart = memo(({ node, hours }: PingChartProps) => { height={30} stroke="var(--theme-text-muted-color)" fill="var(--accent-a4)" - alwaysShowText tickFormatter={(time) => { const date = new Date(time); if (hours === 0) {