Browse Source

fix: 单点登录code丢失问题

zhangjie 1 year ago
parent
commit
f4ae656e6d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/modules/login/views/LoginOpen.vue

+ 1 - 0
src/modules/login/views/LoginOpen.vue

@@ -45,6 +45,7 @@ export default {
         this.$ls.set("schoolName", curSchool.name, this.GLOBAL.authTimeout);
         this.$ls.set("schoolName", curSchool.name, this.GLOBAL.authTimeout);
         const res = await getSchoolInfo(curSchool.code);
         const res = await getSchoolInfo(curSchool.code);
         this.$ls.set("schoolLogo", res.logo);
         this.$ls.set("schoolLogo", res.logo);
+        this.$ls.set("schoolInfo", res);
       }
       }
       this.$ls.set("user", data, this.GLOBAL.authTimeout);
       this.$ls.set("user", data, this.GLOBAL.authTimeout);