代理修复

This commit is contained in:
aixianling
2022-07-20 10:35:25 +08:00
parent de44f79086
commit 8cb70a37c2
2 changed files with 3 additions and 2 deletions

View File

@@ -232,7 +232,7 @@ export const wxwork = {
.replace(/REDIRECT_URI/g, REDIRECT_URI)
.replace(/SCOPE/g, scope)
.replace(/AGENTID/g, agentId)
console.log(oauthURL)
console.log(/AppForm/.test(location.pathname), oauthURL)
location.replace(oauthURL)
} else if (!tryAgentSign && corpId) {
dispatch("agentSign", {corpId, suiteId}).then(() => dispatch("getCode", true)).then(() => resolve())