|
@@ -730,13 +730,10 @@ export default {
|
|
|
}
|
|
|
} else {
|
|
|
// admin走这里
|
|
|
- // console.log('2222');
|
|
|
|
|
|
let mergedList = this.allowOrgList.reduce((acc, curr) => {
|
|
|
return [...acc, ...curr.list];
|
|
|
}, []);
|
|
|
- // console.log('mergedList',mergedList);
|
|
|
- // console.log('mergedList2',this.OrgOptions.filter(i=>!mergedList.includes(i.id)).length);
|
|
|
|
|
|
if (
|
|
|
this.OrgOptions.filter((i) => !mergedList.includes(i.id))
|
|
@@ -749,11 +746,6 @@ export default {
|
|
|
this.loginType = "orgL";
|
|
|
return resolve(2);
|
|
|
|
|
|
- // }
|
|
|
- // if (this.OrgOptions.map((i) => i.Uorg).includes("@cocorobo.cc")) {
|
|
|
- // this.org = "@cocorobo.cc";
|
|
|
- // } else {
|
|
|
- // this.org = this.OrgOptions[0].Uorg;
|
|
|
}
|
|
|
}
|
|
|
return resolve(1);
|