logout jump to home page
This commit is contained in:
parent
8d4af7d3fc
commit
3350e38250
|
@ -35,7 +35,7 @@ export default {
|
|||
},
|
||||
async logout() {
|
||||
await this.$store.dispatch('user/logout')
|
||||
this.$router.push('/login')
|
||||
this.$router.push('/home')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue