|
@@ -43,8 +43,8 @@ export default {
|
|
const curSchool = data.schoolInfo[0];
|
|
const curSchool = data.schoolInfo[0];
|
|
this.$ls.set("schoolId", curSchool.id, this.GLOBAL.authTimeout);
|
|
this.$ls.set("schoolId", curSchool.id, this.GLOBAL.authTimeout);
|
|
this.$ls.set("schoolName", curSchool.name, this.GLOBAL.authTimeout);
|
|
this.$ls.set("schoolName", curSchool.name, this.GLOBAL.authTimeout);
|
|
- const data = await getSchoolInfo(curSchool.code);
|
|
|
|
- this.$ls.set("schoolLogo", data.logo);
|
|
|
|
|
|
+ const res = await getSchoolInfo(curSchool.code);
|
|
|
|
+ this.$ls.set("schoolLogo", res.logo);
|
|
}
|
|
}
|
|
this.$ls.set("user", data, this.GLOBAL.authTimeout);
|
|
this.$ls.set("user", data, this.GLOBAL.authTimeout);
|
|
|
|
|