From 982d84777db156165fd1a3c015e63a475e99bad8 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 22 Jun 2022 09:59:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E5=BE=AE=E6=A0=87=E5=87=86=E7=89=88?= =?UTF-8?q?=E8=B0=83=E6=95=B4oauth2=E7=9A=84=E5=8F=82=E6=95=B0?= 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 723034fa..42db5edd 100644 --- a/src/common/modules.js +++ b/src/common/modules.js @@ -55,7 +55,7 @@ export const config = { } }, getCode({state, dispatch}, tryAgentSign = false) { - let {corpid: corpId, suiteId} = state, url = location.href, REDIRECT_URI = encodeURIComponent(url), scope = "snsapi_base" + let {corpid: corpId, suiteId} = state, url = location.href, REDIRECT_URI = encodeURIComponent(url), scope = "snsapi_privateinfo" if (/\/AppForm\//.test(location.search)) { scope = "snsapi_userinfo" } else if (suiteId) {