mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-08 22:57:11 +08:00
refactor: 行为验证码重复问题
This commit is contained in:
@@ -345,7 +345,7 @@ export default {
|
||||
|
||||
function init() {
|
||||
text.value = explain.value
|
||||
getPicture()
|
||||
// getPicture()
|
||||
nextTick(() => {
|
||||
const { imgHeight, imgWidth, barHeight, barWidth } = resetSize(proxy)
|
||||
setSize.imgHeight = imgHeight
|
||||
|
@@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user