优化数据刷新间隔
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user