lex-wxl 1 kuukausi sitten
vanhempi
commit
1165cb75c9
4 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 1 1
      dist/index.html
  2. 0 0
      dist/js/app.181aac00.js
  3. 0 0
      dist/js/app.d33c699b.js
  4. 4 2
      src/store/modules/user.ts

+ 1 - 1
dist/index.html

@@ -1,6 +1,6 @@
 <!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="renderer" content="webkit"/><meta name="force-rendering" content="webkit"/><link rel="icon" href="/favicon.ico"/><title>乐教通</title><script>if (!!window.ActiveXObject || "ActiveXObject" in window) {
             window.location.href = "./ieIncompatible/index.html"
-         }</script><script defer="defer" src="/js/chunk-vendors.36e94bc8.js"></script><script defer="defer" src="/js/app.181aac00.js"></script><link href="/css/app.4dfcdb65.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but classroom doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><style>.firstLoading {
+         }</script><script defer="defer" src="/js/chunk-vendors.36e94bc8.js"></script><script defer="defer" src="/js/app.d33c699b.js"></script><link href="/css/app.4dfcdb65.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but classroom doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><style>.firstLoading {
                position: fixed;
                left: 50%;
                top: 50%;

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/js/app.181aac00.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/js/app.d33c699b.js


+ 4 - 2
src/store/modules/user.ts

@@ -110,7 +110,7 @@ export default () => {
 }
 
 function handleUserInfo(userType: rolesType, userInfo: Record<string, any>) {
-   let avatar, username, realName, phone, subjectId, isVip
+   let avatar, username, realName, phone, subjectId, isVip, tenantId
    if (["GYM", "KLX"].includes(userType)) {
       avatar = userInfo.avatar
       username = userInfo.username
@@ -118,6 +118,7 @@ function handleUserInfo(userType: rolesType, userInfo: Record<string, any>) {
       phone = userInfo.phone
       subjectId = userInfo.subjectId
       isVip = userInfo.userVip ? false : userInfo.userVip?.vipType === "NOT_VIP" || !userInfo.userVip?.vipType ? true : false
+      tenantId = userInfo.tenantId
    } else {
       avatar = userInfo.avatar
       username = userInfo.nickname
@@ -132,6 +133,7 @@ function handleUserInfo(userType: rolesType, userInfo: Record<string, any>) {
       realName,
       phone,
       subjectId,
-      isVip
+      isVip,
+      tenantId
    }
 }

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä