fix captcha

This commit is contained in:
lejianwen
2024-12-18 13:34:02 +08:00
parent f20003e619
commit 6a329b1f42
+1 -1
View File
@@ -88,7 +88,7 @@
ElMessage.success(T('LoginSuccess'))
router.push({ path: redirect || '/', replace: true })
}
if (res.code === 110 && captchaCode.value === '') {
if (res.code === 110) {
// need captcha
loadCaptcha()
}