Commit d5749502 by 李伟康

commit

1 parent 2ab5489d
...@@ -69,7 +69,7 @@ const actions = { ...@@ -69,7 +69,7 @@ const actions = {
login({ dispatch }) { login({ dispatch }) {
let [redirectUrl] = window.location.href.split('?') let [redirectUrl] = window.location.href.split('?')
const code = getParams('code') const code = getParams('code')
let sessionId = util.setSessionId(userInfo.sessionId) let sessionId = util.getSessionId()
if(sessionId){ if(sessionId){
state.showWindow = true state.showWindow = true
window.location.replace(redirectUrl) window.location.replace(redirectUrl)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!