Browse Source

后台退出登录跳转

zhanghao 3 tháng trước cách đây
mục cha
commit
232bac246a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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(() => {});
     }