Commit 64a21db1 by 李伟康

test

1 parent 1543a688
......@@ -139,9 +139,9 @@ const actions = {
navigation ({ dispatch }, to) {
let { redirect_uri, corpId } = getParams()
let userInfo = util.getLocalStorage('dj_scrm_userInfo')
if (corpId) util.setLocalStorage('dj_scrm_corpId', { corpId })
if (redirect_uri) util.setLocalStorage('dj_scrm_redirect_uri', redirect_uri)
let dj_scrm = util.getLocalStorage('dj_scrm_corpId')
if (corpId) util.setLocalStorage('dj_scrm_corpId', { corpId })
state.testView = `${JSON.stringify(dj_scrm)}____________${corpId}__________${userInfo}`
if (dj_scrm && userInfo) {
if (dj_scrm.corpId != userInfo.entmicroId) {
......@@ -169,6 +169,7 @@ const login = ({ dispatch, to }) => {
} else {
state.showWindow = false
util.showLoading()
removeStoreage()
dispatch('login')
return
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!