forked from AkkomaGang/akkoma-fe
fix small bug
This commit is contained in:
parent
b7d7c21617
commit
011f04c196
1 changed files with 1 additions and 1 deletions
|
@ -40,10 +40,10 @@ const LoginForm = {
|
|||
this.$store.commit('setToken', result.access_token)
|
||||
try {
|
||||
await this.$store.dispatch('loginUser', result.access_token)
|
||||
this.$router.push({name: 'friends'})
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
this.$router.push({name: 'friends'})
|
||||
})
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue