fix(Picker): avoid click event when moving (#4273)
This commit is contained in:
@@ -141,6 +141,10 @@ export default createComponent({
|
||||
},
|
||||
|
||||
onClickItem(index) {
|
||||
if (this.moving) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.duration = DEFAULT_DURATION;
|
||||
this.setIndex(index, true);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user