fix 滑块验证码error

This commit is contained in:
xingyu4j
2022-11-10 09:47:10 +08:00
parent edb88a398e
commit 423256c0db
3 changed files with 142 additions and 131 deletions

View File

@ -276,7 +276,7 @@ export default {
const _this = this
// 判断是否重合
if (this.status && this.isEnd === false) {
const moveLeftDistance = parseInt((this.moveBlockLeft || '').replace('px', ''))
let moveLeftDistance = parseInt((this.moveBlockLeft || '').replace('px', ''))
moveLeftDistance = moveLeftDistance * 310 / parseInt(this.setSize.imgWidth)
const data = {
captchaType: this.captchaType,