mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 18:36:51 +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) {
|
swipeTo(index) {
|
||||||
this.swiping = true;
|
this.swiping = true;
|
||||||
|
this.resetTouchStatus();
|
||||||
this.correctPosition();
|
this.correctPosition();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.swiping = false;
|
this.swiping = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user