From eb2e2c6f1520d22f1700c594a209a2df8197aaee Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Mon, 10 Nov 2025 11:03:50 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E7=A4=BE=E4=BA=A4=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E5=90=8E=E5=BB=B6=E8=BF=9F=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B0=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/_core/social-callback/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/web-antd/src/views/_core/social-callback/index.vue b/apps/web-antd/src/views/_core/social-callback/index.vue index 5adaf567..1aa2469b 100644 --- a/apps/web-antd/src/views/_core/social-callback/index.vue +++ b/apps/web-antd/src/views/_core/social-callback/index.vue @@ -63,7 +63,9 @@ onMounted(async () => { if (accessStore.accessToken) { await authCallback(data); message.success(`${source}授权成功`); - router.push(preferences.app.defaultHomePath); + setTimeout(() => { + router.push(preferences.app.defaultHomePath); + }, 1500); } else { // 这里内部已经做了跳转到首页的操作 await authStore.authLogin(data as any);