diff --git a/src/views/Register.vue b/src/views/Register.vue index 92a5490..1ab1619 100644 --- a/src/views/Register.vue +++ b/src/views/Register.vue @@ -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();