Commit f87abc94 by zhangxw

sessionId 不做缓存

1 parent d5ba4f38
......@@ -146,7 +146,7 @@ const actions = {
const storage_sessionId = util.getSessionId()
if (sessionId || storage_sessionId) {
state.showWindow = true
util.setSessionId(sessionId || storage_sessionId)
// util.setSessionId(sessionId || storage_sessionId)
dispatch('registerHttp', sessionId || storage_sessionId)
} else {
util.showLoading()
......
......@@ -40,9 +40,6 @@ export default {
})
}
},
destroyed() { // 离开页面清除sessionId(sessionId有时效性)
util.removeLocalStorage('dj_scrm_session_id')
}
}
</script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!