chore(admin): remove manual refresh buttons across pages

This commit is contained in:
2026-02-07 09:47:17 +08:00
parent dd9cc5a76d
commit 12e07962c7
49 changed files with 73 additions and 105 deletions

View File

@@ -276,10 +276,6 @@ async function refreshAll(options = {}) {
let refreshTimer = null
function manualRefresh() {
return refreshAll({ showLoading: true })
}
onMounted(() => {
refreshAll({ showLoading: false })
refreshTimer = setInterval(() => refreshAll({ showLoading: false }), 5000)
@@ -306,9 +302,6 @@ onUnmounted(() => {
</div>
</div>
<div class="hero-actions">
<el-button type="primary" :loading="loading" @click="manualRefresh">刷新数据</el-button>
</div>
</div>
<MetricGrid :items="overviewCards" :loading="loading" :min-width="165" />