mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +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);
|
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);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user