|
@@ -152,7 +152,7 @@ export default {
|
|
|
loading: false,
|
|
|
loginType: "default",
|
|
|
redirect: this.$route.query["redirect"],
|
|
|
- org2: this.$route.query["org"],
|
|
|
+ org2: this.$route.query["org"] || window.sessionStorage.getItem('org2'),
|
|
|
oid: this.$route.query["oid"],
|
|
|
// 组织列表
|
|
|
OrgOptions: [],
|
|
@@ -207,6 +207,7 @@ export default {
|
|
|
if (!_list.includes(_nowOrgId)) {
|
|
|
return this.$message.error("该组织/学校不允许登录");
|
|
|
}
|
|
|
+ window.sessionStorage.setItem('org2',this.org2)
|
|
|
}
|
|
|
|
|
|
let orgValue = this.org ? "@" + this.org : "@cocorobo.cc";
|
|
@@ -422,6 +423,7 @@ export default {
|
|
|
this.wechatLogin();
|
|
|
return this.$message.error("该组织/学校不允许登录");
|
|
|
}
|
|
|
+ window.sessionStorage.setItem('org2',this.org2)
|
|
|
}
|
|
|
if (_data.active === 1) {
|
|
|
window.localStorage["identity"] = JSON.stringify(_data.identity);
|