Commit d87e0039 by 李伟康

commit

1 parent fbacc820
......@@ -102,7 +102,7 @@ const actions = {
util.removeLocalStorage('dj_scrm_redirect_uri')
// 只有一个账号 history.back()
if(route == 'common/overdue' || route == 'common/nothing') route = ''
if (redirect_uri) window.location.href = decodeURIComponent(`${redirect_uri}?sessionId=${userInfo.sessionId}&corpId=${corpId}&${Math.random()}`)
if (redirect_uri) window.location.href = decodeURIComponent(`${redirect_uri}?sessionId=${userInfo.sessionId}&corpId=${corpId}&${new Date().getTime()}`)
else window.location.replace(`${url}${route}`)
}
} else {
......
......@@ -74,7 +74,7 @@ export default {
this.removeLocalStorage('dj_scrm_redirect_uri')
this.showLoading('登录成功', () => {
this.hideLoading()
if (redirect_uri) window.location.href = decodeURIComponent(`${redirect_uri}?sessionId=${data.sessionId}&corpId=${corpId}&${Math.random()}`)
if (redirect_uri) window.location.href = decodeURIComponent(`${redirect_uri}?sessionId=${data.sessionId}&corpId=${corpId}&${new Date().getTime()}`)
else this.$router.replace({ name: lastPath || 'home' })
})
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!