|
@@ -10,7 +10,7 @@ const user = {
|
|
|
roles: [],
|
|
roles: [],
|
|
|
permissions: [],
|
|
permissions: [],
|
|
|
isAdmin: false,
|
|
isAdmin: false,
|
|
|
- medicalMallConfig: {medicalMall: false,statics: false,audit:false,resource:false,stores:false}
|
|
|
|
|
|
|
+ medicalMallConfig: {medicalMall: false,statics: false,audit:false,resource:false,stores:true}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
mutations: {
|
|
mutations: {
|
|
@@ -74,7 +74,7 @@ const user = {
|
|
|
commit('SET_AVATAR', avatar)
|
|
commit('SET_AVATAR', avatar)
|
|
|
commit('SET_USER', user)
|
|
commit('SET_USER', user)
|
|
|
commit('SET_ISADMIN', res.isAdmin)
|
|
commit('SET_ISADMIN', res.isAdmin)
|
|
|
- console.log(res.medicalMallConfig)
|
|
|
|
|
|
|
+ console.log("res.medicalMallConfig",res.medicalMallConfig)
|
|
|
commit('SET_MEDICALMALL', res.medicalMallConfig)
|
|
commit('SET_MEDICALMALL', res.medicalMallConfig)
|
|
|
resolve(res)
|
|
resolve(res)
|
|
|
}).catch(error => {
|
|
}).catch(error => {
|