fix small bug

This commit is contained in:
jasper 2019-04-09 09:19:48 -07:00
parent b7d7c21617
commit 011f04c196
1 changed files with 1 additions and 1 deletions

View File

@ -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'})
})
})
},