Commit a61304b9 by 李伟康

commit

1 parent c8537fa0
...@@ -102,7 +102,7 @@ const actions = { ...@@ -102,7 +102,7 @@ const actions = {
util.removeLocalStorage('dj_scrm_redirect_uri') util.removeLocalStorage('dj_scrm_redirect_uri')
// 只有一个账号 history.back() // 只有一个账号 history.back()
if(route == 'common/overdue' || route == 'common/nothing') route = '' if(route == 'common/overdue' || route == 'common/nothing') route = ''
if (redirect_uri) window.location.href = decodeURIComponent(`${redirect_uri}?sessionId=${userInfo.sessionId}&corpId=${corpId}`) if (redirect_uri) window.location.href = decodeURIComponent(`${redirect_uri}?sessionId=${userInfo.sessionId}&corpId=${corpId}&${Math.random()}`)
else window.location.replace(`${url}${route}`) else window.location.replace(`${url}${route}`)
} }
} else { } else {
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
this.removeLocalStorage('dj_scrm_redirect_uri') this.removeLocalStorage('dj_scrm_redirect_uri')
this.showLoading('登录成功', () => { this.showLoading('登录成功', () => {
this.hideLoading() this.hideLoading()
if (redirect_uri) window.location.href = decodeURIComponent(`${redirect_uri}?sessionId=${data.sessionId}&corpId=${corpId}`) if (redirect_uri) window.location.href = decodeURIComponent(`${redirect_uri}?sessionId=${data.sessionId}&corpId=${corpId}&${Math.random()}`)
else this.$router.replace({ name: lastPath || 'home' }) else this.$router.replace({ name: lastPath || 'home' })
}) })
} }
......
...@@ -203,7 +203,8 @@ export default { ...@@ -203,7 +203,8 @@ export default {
background: #d8d8d8; background: #d8d8d8;
} }
.info{ .info{
max-width: calc(100% - 130px); // max-width: calc(100% - 130px);
max-width: calc(100% - 60px);
} }
.name { .name {
font-size: 16px; font-size: 16px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!