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';