diff --git a/src/components/Verify/Verify/VerifySlide.vue b/src/components/Verify/Verify/VerifySlide.vue index f9e6f0e..9910ac7 100644 --- a/src/components/Verify/Verify/VerifySlide.vue +++ b/src/components/Verify/Verify/VerifySlide.vue @@ -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 diff --git a/src/views/login/components/phone/index.vue b/src/views/login/components/phone/index.vue index e6b2170..0e4afae 100644 --- a/src/views/login/components/phone/index.vue +++ b/src/views/login/components/phone/index.vue @@ -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() }