Commit 7ba6c15d by hank

bug

parent 473fc52a
......@@ -101,7 +101,7 @@ export default new Vuex.Store({
}
}).then(res => {
window.localStorage.setItem('callbackurl', location.href)
"认证跳转"
alert('跳转')
location.replace(res.data.data.url)
state.isAuth = false
})
......
......@@ -50,7 +50,6 @@ export default {
store.commit('getUserInfo')
} else {
if(!this.getQuery('code') && !store.state.token) {
alert('我掉的认证')
store.dispatch('getAuth')
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment