删除校验
This commit is contained in:
@@ -457,14 +457,14 @@ const handleRegister = async () => {
|
|||||||
const valid = await registerFormRef.value.validate();
|
const valid = await registerFormRef.value.validate();
|
||||||
if (!valid) return;
|
if (!valid) return;
|
||||||
|
|
||||||
// 验证验证码
|
// // 验证验证码
|
||||||
const captchaValid = await captchaRef.value.verifyCaptcha(
|
// const captchaValid = await captchaRef.value.verifyCaptcha(
|
||||||
registerForm.captcha
|
// registerForm.captcha
|
||||||
);
|
// );
|
||||||
if (!captchaValid) {
|
// if (!captchaValid) {
|
||||||
registerForm.captcha = '';
|
// registerForm.captcha = '';
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 获取验证码信息
|
// 获取验证码信息
|
||||||
const captchaInfo = captchaRef.value.getCaptchaInfo();
|
const captchaInfo = captchaRef.value.getCaptchaInfo();
|
||||||
|
|||||||
Reference in New Issue
Block a user