From 9dbaf2dc67febaf4187aeb710c0c038f7c2bf15e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 11 Nov 2024 19:46:45 +0800
Subject: [PATCH] 页面跳转方式调整

---
 src/pages/layout/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/pages/layout/index.vue b/src/pages/layout/index.vue
index 7e78678..e86a9e7 100644
--- a/src/pages/layout/index.vue
+++ b/src/pages/layout/index.vue
@@ -66,7 +66,9 @@
 
 const signOut = () => {
   loginStore.LogOut().then(res => {
-    router.push('/login')
+    router.push({
+      path: '/login'
+    })
   })
 }
 </script>

--
Gitblit v1.9.3