@@ -85,7 +85,7 @@ export default {
},
logout() {
this.$store.dispatch('LogOut').then(() => {
- location.reload()// In order to re-instantiate the vue-router object to avoid bugs
+ this.$router.push(`/login?redirect=${this.$route.fullPath}`)
})
}