fix: 修复钉钉扫码

This commit is contained in:
wxg0103 2024-10-30 17:01:32 +08:00
parent c960123b41
commit 14bda2759a

View File

@ -102,9 +102,7 @@ const initActive = async () => {
scope: 'openid', scope: 'openid',
response_type: 'code', response_type: 'code',
state: 'fit2cloud-ding-qr', state: 'fit2cloud-ding-qr',
prompt: 'consent', prompt: 'consent'
exclusiveLogin: 'true',
exclusiveCorpId: data.corp_id
}, },
(loginResult) => { (loginResult) => {
const authCode = loginResult.authCode const authCode = loginResult.authCode
@ -114,6 +112,7 @@ const initActive = async () => {
}, },
(errorMsg: string) => { (errorMsg: string) => {
MsgError(errorMsg) MsgError(errorMsg)
console.log(errorMsg)
} }
) )
} catch (error) { } catch (error) {