sss %!s(int64=3) %!d(string=hai) anos
pai
achega
c81e740f72
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/layout/components/Navbar.vue

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

@@ -122,7 +122,7 @@ export default {
     },
     logout() {
       this.$store.dispatch('LogOut').then(() => {
-        location.reload()
+        this.$router.push({ path: this.redirect || '/login' })
       })
     },
     getTime() {