|
@@ -288,14 +288,14 @@ export default {
|
|
|
// 荔园平台登录账号进行判断
|
|
|
if (this.allowOrgList.findIndex((i) => i.area) != -1) {
|
|
|
let _index = this.allowOrgList.findIndex((i) => i.area);
|
|
|
- console.log('kkkkkkkkkkk');
|
|
|
+ // console.log('kkkkkkkkkkk');
|
|
|
let _list = this.allowOrgList[_index].list;
|
|
|
if (this.OrgOptions.find((i) => i.Uorg == this.org) && !_list.includes(this.OrgOptions.find((i) => i.Uorg == this.org).id)
|
|
|
) {
|
|
|
return this.$message.error("账号不可登录,请使用您的专属网址");
|
|
|
}
|
|
|
} else {
|
|
|
- console.log('this.org',this.org);
|
|
|
+ // console.log('this.org',this.org);
|
|
|
|
|
|
let mergedList = this.allowOrgList.reduce((acc, curr) => {
|
|
|
return [...acc, ...curr.list];
|
|
@@ -412,7 +412,7 @@ export default {
|
|
|
};
|
|
|
this.loading = true;
|
|
|
axios.defaults.withCredentials = true;
|
|
|
- console.log("👇");
|
|
|
+ console.log("👇进入进行微信绑定环节");
|
|
|
axios
|
|
|
.post("https://beta.api.cocorobo.cn/api/user", qs.stringify(params))
|
|
|
.then(async (res) => {
|
|
@@ -426,6 +426,8 @@ export default {
|
|
|
]);
|
|
|
window.localStorage["identity"] = JSON.stringify(_data.identity);
|
|
|
this.$message.success("绑定成功");
|
|
|
+ window.topU.U.UF.Cookie.set("cocoroboLoginType=2");
|
|
|
+ window.topU ? window.topU.US.userInfo = _data : window.top.US.userInfo = _data
|
|
|
await this.login();
|
|
|
if (
|
|
|
userjson.data[0][0].type == 1 &&
|