From 7aef153bf38ac6166415bdedcc8f67d5cba3325f Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Wed, 26 Jun 2024 17:22:26 +0800 Subject: [PATCH] :bug: Fix frontend --- web/src/components/auth/AuthenticateCompleted.vue | 3 +-- web/src/views/dashboard.vue | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/web/src/components/auth/AuthenticateCompleted.vue b/web/src/components/auth/AuthenticateCompleted.vue index 4ac6109..2f71ddc 100644 --- a/web/src/components/auth/AuthenticateCompleted.vue +++ b/web/src/components/auth/AuthenticateCompleted.vue @@ -32,8 +32,7 @@ async function load() { emits("update:loading", true) await getToken(props.ticket.grant_token) await userinfo.readProfiles() - emits("update:loading", false) - setTimeout(() => callback(), 3000) + setTimeout(() => callback(), 1850) } onMounted(() => load()) diff --git a/web/src/views/dashboard.vue b/web/src/views/dashboard.vue index 27a996d..c5e0644 100755 --- a/web/src/views/dashboard.vue +++ b/web/src/views/dashboard.vue @@ -1,14 +1,14 @@