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