[bugfix] Swipe: position wrong when use swipeTo (#2471)

This commit is contained in:
neverland 2019-01-08 22:22:53 +08:00 committed by GitHub
parent 44ef986feb
commit 4f8a592836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,6 +246,7 @@ export default create({
swipeTo(index) {
this.swiping = true;
this.resetTouchStatus();
this.correctPosition();
setTimeout(() => {
this.swiping = false;