From 8a7b1b1a855838fc24a869f805c208a813f27e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E5=9C=A8=E8=B7=AF=E6=97=81=E5=AF=BB=E8=A7=85?= =?UTF-8?q?=E7=8B=97?= <1327410210@qq.com> Date: Thu, 12 Dec 2024 07:20:04 +0000 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=BB=91=E5=9D=97?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E4=B8=8D=E6=8B=96=E5=8A=A8=E6=BB=91=E5=9D=97?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E9=97=AE=E9=A2=98=20=E5=BD=93=E6=9C=AA?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E6=BB=91=E5=9D=97=E6=97=B6=EF=BC=8CparseInt?= =?UTF-8?q?=E5=87=BA=E6=9D=A5=E7=9A=84=E7=BB=93=E6=9E=9C=E6=98=AFNaN?= =?UTF-8?q?=EF=BC=8C=E8=B0=83=E7=94=A8=E5=90=8E=E7=AB=AF=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E4=BC=9A=E5=87=BA=E7=8E=B0=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 我在路旁寻觅狗 <1327410210@qq.com> --- src/components/Verifition/src/Verify/VerifySlide.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Verifition/src/Verify/VerifySlide.vue b/src/components/Verifition/src/Verify/VerifySlide.vue index 0dd4a16f..e65d4c5e 100644 --- a/src/components/Verifition/src/Verify/VerifySlide.vue +++ b/src/components/Verifition/src/Verify/VerifySlide.vue @@ -206,7 +206,7 @@ function end() { endMovetime.value = +new Date() // 判断是否重合 if (status.value && isEnd.value === false) { - let moveLeftDistance = Number.parseInt((moveBlockLeft.value || '').replace('px', '')) + let moveLeftDistance = Number.parseInt((moveBlockLeft.value || 0)) moveLeftDistance = (moveLeftDistance * 310) / Number.parseInt(setSize.imgWidth) const data = { captchaType: captchaType.value,