This commit is contained in:
YunaiV 2023-11-19 00:30:02 +08:00
commit ebb19cfe8c
2 changed files with 1 additions and 2 deletions

View File

@ -277,7 +277,7 @@ const end = () => {
endMovetime.value = +new Date() endMovetime.value = +new Date()
// //
if (status.value && isEnd.value == false) { 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) moveLeftDistance = (moveLeftDistance * 310) / parseInt(setSize.imgWidth)
let data = { let data = {
captchaType: captchaType.value, captchaType: captchaType.value,

View File

@ -66,7 +66,6 @@ const bindSocial = () => {
socialBind(type, code, state).then(() => { socialBind(type, code, state).then(() => {
message.success('绑定成功') message.success('绑定成功')
emit('update:activeName', 'userSocial') emit('update:activeName', 'userSocial')
initSocial()
}) })
} }