删除校验

This commit is contained in:
dzl
2025-09-18 14:41:09 +08:00
parent 0a1bcb3cd4
commit d928642652

View File

@@ -457,14 +457,14 @@ const handleRegister = async () => {
const valid = await registerFormRef.value.validate();
if (!valid) return;
// 验证验证码
const captchaValid = await captchaRef.value.verifyCaptcha(
registerForm.captcha
);
if (!captchaValid) {
registerForm.captcha = '';
return;
}
// // 验证验证码
// const captchaValid = await captchaRef.value.verifyCaptcha(
// registerForm.captcha
// );
// if (!captchaValid) {
// registerForm.captcha = '';
// return;
// }
// 获取验证码信息
const captchaInfo = captchaRef.value.getCaptchaInfo();