소스 검색

feat: 退出登录问题修改

sunxiao 4 달 전
부모
커밋
98438c584e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(() => { });
 }