mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Swipe: position wrong when use swipeTo (#2471)
This commit is contained in:
parent
44ef986feb
commit
4f8a592836
@ -246,6 +246,7 @@ export default create({
|
||||
|
||||
swipeTo(index) {
|
||||
this.swiping = true;
|
||||
this.resetTouchStatus();
|
||||
this.correctPosition();
|
||||
setTimeout(() => {
|
||||
this.swiping = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user