From b4859bf70400878740cb696933706570a27fc2bf Mon Sep 17 00:00:00 2001 From: qinglong Date: Sun, 14 Jun 2026 15:23:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20NET=E5=9B=BE=E8=A1=A8maxVal=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E5=90=8E=E9=87=8D=E7=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/sentinel/dashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index 9828821..a1a33e0 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -366,7 +366,7 @@ try { if (charts.cpu) charts.cpu.update(cpuVal); if (charts.mem) charts.mem.update(memVal); - if (charts.net) { charts.net.update(net.rx_bytes_sec||0, net.tx_bytes_sec||0); if (charts.net.maxVal < 102400) charts.net.maxVal = 102400; } + if (charts.net) { charts.net.update(net.rx_bytes_sec||0, net.tx_bytes_sec||0); if (charts.net.maxVal < 102400) { charts.net.maxVal = 102400; charts.net._draw(); } } } catch(e) {} } // 更新额外指标