diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index 2a3c32a..1a91e79 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -1,3 +1,4 @@ +

🛡️ Sentinel 集群监控

@@ -246,7 +247,13 @@ if (isRow) { var charts = _chartInstances[id]; - if (charts && charts[0]) { + if (!charts) { + // MiniChart 未加载, 回退到网格模式 + _layoutMode = 'grid'; + toggleLayout(); + return; + } + if (charts[0]) { charts[0].update(cpuVal); charts[1].update(memVal); charts[2].update(net.rx_bytes_sec||0);