logout jump to home page

This commit is contained in:
龚祖望 2022-10-11 14:10:18 +08:00
parent 8d4af7d3fc
commit 3350e38250
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export default {
},
async logout() {
await this.$store.dispatch('user/logout')
this.$router.push('/login')
this.$router.push('/home')
}
}
}