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