Эх сурвалжийг харах

解决缺陷 部分安卓手机登录跳转失败

zhulu 8 сар өмнө
parent
commit
440a840fb6

+ 1 - 1
src/components/layouts/index.vue

@@ -64,7 +64,7 @@ export default {
         this.$store.commit('SET_USER_ORGID', info.user.orgId)
         this.$store.commit('SET_USER_ORGNAME', info.user.orgName)
         this.$store.commit('SET_USER_ORGTYPE', info.user.orgType)
-        this.$store.commit('SET_USER_SUBUSERLIST', info.subUserList??null)
+        // this.$store.commit('SET_USER_SUBUSERLIST', info.subUserList??null)
         this.$store.commit('SET_MASTER_USER_ID', info.masterUserId)
         this.$store.commit('SET_MASTER_USER_NAME', info.masterUserName)
         this.$store.commit('SET_MASTER_SIGNATURE_SEAL', info.user.signatureSeal)

+ 1 - 1
src/store/getters.js

@@ -8,7 +8,7 @@ const getters = {
   masterUserId: state => state.user.masterUserId,
   masterUserName: state => state.user.masterUserName,
   // masterUserOrgName:state => state.user.masterUserOrgName,
-  subUserList: state => state.user.subUserList,
+  // subUserList: state => state.user.subUserList,
   orgTree: state => state.app.orgTree,
   orgTreeHangshe: state => state.app.orgTreeHangshe,
   depTree: state => state.app.depTree,

+ 1 - 1
src/store/modules/user.js

@@ -12,7 +12,7 @@ const state = {
   //机构类型
   orgType:JSON.parse(sessionStorage.getItem("SET_USER_ORGTYPE"))||null,
 
-  subUserList:(sessionStorage.getItem("SET_USER_SUBUSERLIST")!='' && sessionStorage.getItem("SET_USER_SUBUSERLIST")!=null && sessionStorage.getItem("SET_USER_SUBUSERLIST")!='undefined') ? JSON.parse(sessionStorage.getItem("SET_USER_SUBUSERLIST"))||[]:[],
+  // subUserList:(sessionStorage.getItem("SET_USER_SUBUSERLIST")!='' && sessionStorage.getItem("SET_USER_SUBUSERLIST")!=null && sessionStorage.getItem("SET_USER_SUBUSERLIST")!='undefined') ? JSON.parse(sessionStorage.getItem("SET_USER_SUBUSERLIST"))||[]:[],
 
   //主用户用户名
   masterUserName: JSON.parse(sessionStorage.getItem("SET_MASTER_USER_NAME"))||null,