diff --git a/ui/src/App.vue b/ui/src/App.vue index 0591f5f..f207b06 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -25,13 +25,13 @@ const showDownloadWidget = computed(() => { onMounted(async () => { await authStore.fetchLoginStatus() - + // 如果已登录,初始化下载store和检查更新 if (authStore.isLoggedIn) { await downloadStore.fetchTasks() // 启动定期刷新 downloadStore.startRefreshInterval() - + // 自动检查更新(静默) setTimeout(() => { updateStore.autoCheckUpdate() @@ -47,10 +47,7 @@ onMounted(async () => {
@@ -101,10 +95,10 @@ onMounted(async () => {