소스 검색

后台退出登录跳转

zhanghao 3 달 전
부모
커밋
232bac246a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/layout/components/Navbar.vue

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

@@ -98,7 +98,7 @@ export default {
         type: 'warning'
       }).then(() => {
         this.$store.dispatch('LogOut').then(() => {
-          location.href = '/admin/index';
+          location.href = '/login';
         })
       }).catch(() => {});
     }