增加湖南公安项目的配置
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user