refactor: 行为验证码重复问题

This commit is contained in:
秋帆
2024-11-22 21:29:52 +08:00
parent 930227ea0c
commit be4356fa04
2 changed files with 3 additions and 1 deletions

View File

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