This commit is contained in:
lejianwen
2025-05-28 17:06:12 +08:00
parent 4b818f73e5
commit 3084e40039
+2
View File
@@ -78,6 +78,7 @@
password: '', password: '',
platform: platform, platform: platform,
captcha: '', captcha: '',
captcha_id: ''
}) })
const captchaCode = ref('') const captchaCode = ref('')
@@ -99,6 +100,7 @@
const captchaRes = await captcha().catch(_ => false) const captchaRes = await captcha().catch(_ => false)
console.log(captchaRes) console.log(captchaRes)
captchaCode.value = captchaRes.data.captcha captchaCode.value = captchaRes.data.captcha
form.captcha_id = captchaRes.data.captcha.id
} }
const handleOIDCLogin = (provider) => { const handleOIDCLogin = (provider) => {