From 97292a95a51a256da663b5d147a4a087102f53df Mon Sep 17 00:00:00 2001 From: xy <2115269706@qq.com> Date: Tue, 25 Mar 2025 15:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layout/index.vue b/src/layout/index.vue index bcfdaff..b3bc0b3 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -26,6 +26,7 @@ const setting = settingStore(); const router = useRouter() console.log(setting.title); +user.token ? router.push('/spacePage') : '' const loginFn=()=>{ router.push('/login') }