init
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ export default {
|
|||||||
var info = await this.getUserInfo();
|
var info = await this.getUserInfo();
|
||||||
// var bschResult = await this.getBschHomeJsonp(baseHost, info.id);
|
// var bschResult = await this.getBschHomeJsonp(baseHost, info.id);
|
||||||
// this.setCurrentRole(bschResult, baseHost, info.id);
|
// this.setCurrentRole(bschResult, baseHost, info.id);
|
||||||
localStorage.setItem("currentRole", encodeURI(JSON.stringify({ childId:0, roleId:info.roleIds[0], schId:info.school.id, userId:info.id })));
|
localStorage.setItem("currentRole", encodeURI(JSON.stringify({ childId:0, roleId:info.roleId, schId:info.schId, userId:info.userId })));
|
||||||
var mod = await this.getUserMod();
|
var mod = await this.getUserMod();
|
||||||
this.layoutInit(info, mod, [], baseHost, ssoHost);
|
this.layoutInit(info, mod, [], baseHost, ssoHost);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user