增加湖南公安项目的配置
This commit is contained in:
@@ -194,7 +194,7 @@ const store = new Vuex.Store({
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.access_token) {
|
if (res?.access_token) {
|
||||||
state.commit("login", [res?.token_type, res?.access_token].join(" ").trim())
|
state.commit("login", [res?.token_type, res?.access_token].join(" ").trim())
|
||||||
module != 'AppCountryAlbum' && state.dispatch("getAccount")
|
module != 'AppCountryAlbum' && state.dispatch("getAccount", {module})
|
||||||
resolve()
|
resolve()
|
||||||
}
|
}
|
||||||
}).catch(err => {
|
}).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) {
|
if (res?.code == 0) {
|
||||||
state.commit('setUser', res.data)
|
state.commit('setUser', res.data)
|
||||||
action.getGridInfo()
|
action.getGridInfo()
|
||||||
|
|||||||
Reference in New Issue
Block a user