Browse Source

feat: 退出登录问题修改

sunxiao 2 weeks ago
parent
commit
98438c584e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/layout/components/Navbar.vue

+ 1 - 1
src/layout/components/Navbar.vue

@@ -92,7 +92,7 @@ function logout() {
     type: 'warning'
   }).then(() => {
     userStore.logOut().then(() => {
-      location.href = '/admin/index';
+      location.href = '/admin/';
     })
   }).catch(() => { });
 }