Commit 3bc0cc21 by 李伟康

commit

1 parent 873e95ab
......@@ -129,7 +129,6 @@ const actions = {
},
navigation({ dispatch }) {
let { sessionId, corpId } = getParams()
const storage_sessionId = util.getSessionId()
const storage_corpId = util.getLocalStorage('dj_scrm_corpId')
if (!corpId) corpId = storage_corpId && storage_corpId.corpId
if (corpId && storage_corpId) {
......@@ -139,6 +138,7 @@ const actions = {
}
}
util.setLocalStorage('dj_scrm_corpId', { corpId })
const storage_sessionId = util.getSessionId()
if (sessionId || storage_sessionId) {
state.showWindow = true
util.setSessionId(sessionId || storage_sessionId)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!