mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
[bugfix] Swipe: position wrong when use swipeTo (#2471)
This commit is contained in:
@@ -246,6 +246,7 @@ export default create({
|
||||
|
||||
swipeTo(index) {
|
||||
this.swiping = true;
|
||||
this.resetTouchStatus();
|
||||
this.correctPosition();
|
||||
setTimeout(() => {
|
||||
this.swiping = false;
|
||||
|
Reference in New Issue
Block a user