fix
This commit is contained in:
parent
d551b39859
commit
dba8d8910c
2 changed files with 6 additions and 1 deletions
|
@ -248,7 +248,7 @@ const checkOAuthToken = async ({ store }) => {
|
|||
return new Promise(async (resolve, reject) => {
|
||||
if (store.state.oauth.userToken) {
|
||||
try {
|
||||
await store.dispatch('loginUser', store.state.oauth.userToken)
|
||||
await store.dispatch('loginUser', store.getters.getUserToken())
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue