增加湖南公安项目的配置

This commit is contained in:
aixianling
2022-06-06 10:25:07 +08:00
parent 35328f3b54
commit 86799c2f37

View File

@@ -194,7 +194,7 @@ const store = new Vuex.Store({
}).then(res => {
if (res?.access_token) {
state.commit("login", [res?.token_type, res?.access_token].join(" ").trim())
module != 'AppCountryAlbum' && state.dispatch("getAccount")
module != 'AppCountryAlbum' && state.dispatch("getAccount", {module})
resolve()
}
}).catch(err => {
@@ -212,9 +212,9 @@ const store = new Vuex.Store({
})
}
},
getAccount(state) {
getAccount(state, config) {
//获取企业微信后台账号信息
return http.post("/admin/user/detail-phone").then(res => {
return http.post("/admin/user/detail-phone", null, config).then(res => {
if (res?.code == 0) {
state.commit('setUser', res.data)
action.getGridInfo()