fix: 修复部分行为验证码使用错误

This commit is contained in:
2025-06-13 22:11:24 +08:00
parent 47f4ca611e
commit 8c100e5753
3 changed files with 4 additions and 1 deletions

View File

@@ -159,6 +159,8 @@ const onCaptcha = async () => {
if (captchaLoading.value) return
const isInvalid = await formRef.value?.formRef?.validateField(verifyType.value === 'phone' ? 'phone' : 'email')
if (isInvalid) return
// 重置行为参数
VerifyRef.value.instance.refresh()
VerifyRef.value.show()
}