feat: 增加基于图片拼图切片平移的验证码

pull/168/head^2
chenweiran 2025-07-04 10:26:02 +08:00
parent 8ccd01ade5
commit 1aafb43103
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ function handleDragEnd() {
const { pieceX } = state;
const { diffDistance } = props;
if (Math.abs(pieceX - state.moveDistance) >= (diffDistance || 5)) {
if (Math.abs(pieceX - state.moveDistance) >= (diffDistance || 3)) {
setLeft('0');
state.moveDistance = 0;
} else {