@@ -48,8 +48,8 @@ export default {
},
methods: {
async logout () {
+ this.$router.replace('/')
await this.$store.dispatch('user/logout')
- this.$router.push(`/login?redirect=${this.$route.fullPath}`)
}