mirror of
https://gitee.com/yudaocode/yudao-ui-admin-vben.git
synced 2025-12-30 10:32:25 +00:00
!57 修复未拖动滑块位置时,调用验证滑块验证接口出现系统异常的问题
Merge pull request !57 from 我在路旁寻觅狗/fix-captcha
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user