fix: 修复钉钉扫码
This commit is contained in:
parent
c960123b41
commit
14bda2759a
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user