追加CorpId默认值

This commit is contained in:
aixianling
2022-01-27 16:31:59 +08:00
parent 9eb23ff890
commit 4869319c39

View File

@@ -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 = {