From d4ca53216464e7714fcfe796b2b64d0acb1bc48a Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 20 Jul 2022 14:49:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0location?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/modules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/modules.js b/src/common/modules.js index 24b2bb6b..582d819b 100644 --- a/src/common/modules.js +++ b/src/common/modules.js @@ -232,7 +232,7 @@ export const wxwork = { .replace(/REDIRECT_URI/g, REDIRECT_URI) .replace(/SCOPE/g, scope) .replace(/AGENTID/g, agentId) - console.log(/AppForm/.test(location.pathname), oauthURL) + console.log(location, oauthURL) location.replace(oauthURL) } else if (!tryAgentSign && corpId) { dispatch("agentSign", {corpId, suiteId}).then(() => dispatch("getCode", true)).then(() => resolve())