浏览代码

fix: 单点登录code丢失问题

zhangjie 1 年之前
父节点
当前提交
f4ae656e6d
共有 1 个文件被更改,包括 1 次插入0 次删除
  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);
         const res = await getSchoolInfo(curSchool.code);
         this.$ls.set("schoolLogo", res.logo);
+        this.$ls.set("schoolInfo", res);
       }
       this.$ls.set("user", data, this.GLOBAL.authTimeout);