浏览代码

后台退出登录跳转

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(() => {});
     }