mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
fix(frontend): 移除 Dashboard onMounted 中重复的 daily-stats 请求
TimeRangePicker 初始化时已通过 watch immediate 触发数据加载, 无需在 onMounted 中重复调用 loadDailyStats()
This commit is contained in:
@@ -1282,7 +1282,6 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
loadDashboardData(),
|
loadDashboardData(),
|
||||||
loadDailyStats(),
|
|
||||||
loadAnnouncements()
|
loadAnnouncements()
|
||||||
])
|
])
|
||||||
await nextTick()
|
await nextTick()
|
||||||
|
|||||||
Reference in New Issue
Block a user