diff --git a/src/components/Verifition/src/Verify/VerifySlide.vue b/src/components/Verifition/src/Verify/VerifySlide.vue index 8b448b0d..f3c7bfea 100644 --- a/src/components/Verifition/src/Verify/VerifySlide.vue +++ b/src/components/Verifition/src/Verify/VerifySlide.vue @@ -277,7 +277,7 @@ const end = () => { endMovetime.value = +new Date() //判断是否重合 if (status.value && isEnd.value == false) { - var moveLeftDistance = parseInt((moveBlockLeft.value || '').replace('px', '')) + var moveLeftDistance = parseInt((moveBlockLeft.value || '0').replace('px', '')) moveLeftDistance = (moveLeftDistance * 310) / parseInt(setSize.imgWidth) let data = { captchaType: captchaType.value, diff --git a/src/views/Profile/components/UserSocial.vue b/src/views/Profile/components/UserSocial.vue index 7746f510..b7f955be 100644 --- a/src/views/Profile/components/UserSocial.vue +++ b/src/views/Profile/components/UserSocial.vue @@ -66,7 +66,6 @@ const bindSocial = () => { socialBind(type, code, state).then(() => { message.success('绑定成功') emit('update:activeName', 'userSocial') - initSocial() }) }