diff --git a/static/modules/utils.js b/static/modules/utils.js index f5d98ca..0eeba7a 100644 --- a/static/modules/utils.js +++ b/static/modules/utils.js @@ -121,7 +121,7 @@ function renderTable(headers, rows, rowClicks) { } var _loadingSteps = [ - { fn: 'renderHome', label: '正在加载首页仪表盘(指标卡片+图表)', skip: function() { return state.tenant !== '总览'; } }, + { fn: 'renderHome', label: '正在加载首页仪表盘(指标卡片+图表)', skip: function() { return true; } }, { fn: 'renderOverviewPlan', label: '正在加载预算总览', skip: function() { return state.tenant !== '总览'; } }, { fn: 'renderOverviewFinance', label: '正在加载发生总览', skip: function() { return state.tenant !== '总览'; } }, { fn: 'renderProjects', label: '正在加载业务机会列表' }, @@ -282,7 +282,7 @@ function updateSidebarTabs() { document.querySelectorAll(".sidebar-tab").forEach((btn) => { const tab = btn.dataset.tab; if (isOverview) { - btn.style.display = (tab === "home" || tab === "overview_plan" || tab === "overview_finance") ? "" : "none"; + btn.style.display = (tab === "overview_plan" || tab === "overview_finance") ? "" : "none"; } else { btn.style.display = (tab === "overview_plan" || tab === "overview_finance" || tab === "home") ? "none" : ""; } diff --git a/templates/index.html b/templates/index.html index eccf9bc..0b5508a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -53,11 +53,11 @@ 已发生 -