mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修复钉钉扫码
This commit is contained in:
parent
c960123b41
commit
14bda2759a
|
|
@ -102,9 +102,7 @@ const initActive = async () => {
|
|||
scope: 'openid',
|
||||
response_type: 'code',
|
||||
state: 'fit2cloud-ding-qr',
|
||||
prompt: 'consent',
|
||||
exclusiveLogin: 'true',
|
||||
exclusiveCorpId: data.corp_id
|
||||
prompt: 'consent'
|
||||
},
|
||||
(loginResult) => {
|
||||
const authCode = loginResult.authCode
|
||||
|
|
@ -114,6 +112,7 @@ const initActive = async () => {
|
|||
},
|
||||
(errorMsg: string) => {
|
||||
MsgError(errorMsg)
|
||||
console.log(errorMsg)
|
||||
}
|
||||
)
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue