From cf1842f4e5d879d1ae8a77f05770fe84b0a1857d Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Fri, 10 Apr 2026 15:18:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=95=B0=E6=8D=AE=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E9=97=B4=E9=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/app.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/public/js/app.js b/public/js/app.js index 68d6539..bc603f3 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -758,6 +758,16 @@ if (resp.ok) { updateUserUI(data.username); closeLoginModal(); + + // Refresh data sources list for the filter dropdown + loadSourceCount(); + + // Refresh site settings (logo, filings, theme, etc.) + loadSiteSettings(); + + // Refresh dashboard data + fetchMetrics(true); + fetchNetworkHistory(true); } else { dom.loginError.textContent = data.error || '登录失败'; dom.loginError.style.display = 'block';