YunaiV 2 years ago
commit ebb19cfe8c

@ -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,

@ -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()
}) })
} }

Loading…
Cancel
Save