From 86799c2f37db43d208101427e895d04689411950 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 6 Jun 2022 10:25:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B9=96=E5=8D=97=E5=85=AC?= =?UTF-8?q?=E5=AE=89=E9=A1=B9=E7=9B=AE=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index fc21d100..143af8f2 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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()