mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Picker): should reset moving when touch ended (#4283)
This commit is contained in:
parent
009ad60872
commit
81820b31eb
@ -135,6 +135,7 @@ export default createComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
const index = this.getIndexByOffset(this.offset);
|
const index = this.getIndexByOffset(this.offset);
|
||||||
|
this.moving = false;
|
||||||
this.duration = DEFAULT_DURATION;
|
this.duration = DEFAULT_DURATION;
|
||||||
this.setIndex(index, true);
|
this.setIndex(index, true);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user