Explorar el Código

后台退出登录跳转

zhanghao hace 3 meses
padre
commit
232bac246a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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(() => {});
     }