调整部分框架

This commit is contained in:
aixianling
2022-05-30 18:46:49 +08:00
parent 16beb074f6
commit 8e9a7de387
7 changed files with 112 additions and 59 deletions

View File

@@ -13,9 +13,13 @@ const store = new Vuex.Store({
corpId: "",
openUser: {},
user: {},
config: {}
config: {},
apps: []
},
mutations: {
setApps(state, apps) {
state.apps = apps
},
login(state, token) {
state.token = token
},
@@ -208,9 +212,10 @@ const store = new Vuex.Store({
},
getAccount(state) {
//获取企业微信后台账号信息
return http.post("/admin/user/info").then(res => {
return http.post("/admin/user/detail-phone").then(res => {
if (res?.code == 0) {
state.commit('setUser', res.data)
action.getGridInfo()
}
})
},