Commit 7ba6c15d by hank

bug

parent 473fc52a
...@@ -101,7 +101,7 @@ export default new Vuex.Store({ ...@@ -101,7 +101,7 @@ export default new Vuex.Store({
} }
}).then(res => { }).then(res => {
window.localStorage.setItem('callbackurl', location.href) window.localStorage.setItem('callbackurl', location.href)
"认证跳转" alert('跳转')
location.replace(res.data.data.url) location.replace(res.data.data.url)
state.isAuth = false state.isAuth = false
}) })
......
...@@ -50,7 +50,6 @@ export default { ...@@ -50,7 +50,6 @@ export default {
store.commit('getUserInfo') store.commit('getUserInfo')
} else { } else {
if(!this.getQuery('code') && !store.state.token) { if(!this.getQuery('code') && !store.state.token) {
alert('我掉的认证')
store.dispatch('getAuth') 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