mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
fix(Picker): should reset moving when touch ended (#4283)
This commit is contained in:
@@ -135,6 +135,7 @@ export default createComponent({
|
||||
}
|
||||
|
||||
const index = this.getIndexByOffset(this.offset);
|
||||
this.moving = false;
|
||||
this.duration = DEFAULT_DURATION;
|
||||
this.setIndex(index, true);
|
||||
},
|
||||
|
Reference in New Issue
Block a user