From 02cae4729276d634d704f97938a1d9b549dba033 Mon Sep 17 00:00:00 2001 From: qinglong Date: Sat, 13 Jun 2026 21:58:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Sentinel=20=E6=A8=AA=E7=89=88=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=20=E2=80=94=20=E7=A7=BB=E9=99=A4=E6=97=A0=E9=99=90?= =?UTF-8?q?=E5=9B=9E=E9=80=80=E5=BE=AA=E7=8E=AF,=20MiniChart=20=E4=B8=8D?= =?UTF-8?q?=E5=8F=AF=E7=94=A8=E6=97=B6=E4=BC=98=E9=9B=85=E9=99=8D=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/sentinel/dashboard.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index 57dc9f7..0a616b5 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -253,13 +253,7 @@ if (isRow) { var charts = _chartInstances[id]; - if (!charts) { - // MiniChart 未加载, 回退到网格模式 - _layoutMode = 'grid'; - toggleLayout(); - return; - } - if (charts[0]) { + if (charts && charts[0]) { charts[0].update(cpuVal); charts[1].update(memVal); charts[2].update(net.rx_bytes_sec||0);