Browse Source

fix: 单点登录code丢失问题

zhangjie 1 năm trước cách đây
mục cha
commit
f4ae656e6d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);