mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-27 14:57:08 +08:00
refactor: 行为验证码重复问题
This commit is contained in:
@@ -345,7 +345,7 @@ export default {
|
|||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
text.value = explain.value
|
text.value = explain.value
|
||||||
getPicture()
|
// getPicture()
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
const { imgHeight, imgWidth, barHeight, barWidth } = resetSize(proxy)
|
const { imgHeight, imgWidth, barHeight, barWidth } = resetSize(proxy)
|
||||||
setSize.imgHeight = imgHeight
|
setSize.imgHeight = imgHeight
|
||||||
|
@@ -95,6 +95,8 @@ const onCaptcha = async () => {
|
|||||||
if (captchaLoading.value) return
|
if (captchaLoading.value) return
|
||||||
const isInvalid = await formRef.value?.validateField('phone')
|
const isInvalid = await formRef.value?.validateField('phone')
|
||||||
if (isInvalid) return
|
if (isInvalid) return
|
||||||
|
// 重置行为参数
|
||||||
|
VerifyRef.value.instance.refresh()
|
||||||
VerifyRef.value.show()
|
VerifyRef.value.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user