diff --git a/src/store/index.js b/src/store/index.js index 28e46387..9bbef511 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -236,7 +236,7 @@ const store = new Vuex.Store({ }, agentSign(state, params) { let url = window.location.href, - {corpId, suiteId} = state.state.config + {corpId = "ww596787bb70f08288", suiteId} = state.state.config if (agentSignURL == url) { return Promise.resolve() } else { @@ -249,7 +249,7 @@ const store = new Vuex.Store({ params = params || {corpId, suiteId} } return http.post("/app/wxcp/portal/agentSign", null, { - params: {corpId: "ww596787bb70f08288", ...params, url} + params: {...params, url} }).then(res => { if (res?.data) { let config = {