全局增加接口工具类

This commit is contained in:
aixianling
2022-05-06 17:34:31 +08:00
parent 5e3424365a
commit 84bd68fa2a
4 changed files with 33 additions and 6 deletions

View File

@@ -11,7 +11,6 @@ const store = new Vuex.Store({
token: "",
corpId: "",
openUser: {},
dicts: [],
user: {},
config: {}
},
@@ -211,6 +210,7 @@ const store = new Vuex.Store({
return http.post("/admin/user/detail-phone").then(res => {
if (res?.code == 0) {
state.commit('setUser', res.data)
this.$action.getGridInfo()
}
})
},