mirror of
https://github.com/youzan/vant.git
synced 2025-10-14 15:10:36 +00:00
fix(SwipeCell): the click will be triggered after the touchend event on desktop (#13040)
This commit is contained in:
@@ -194,6 +194,11 @@ export default defineComponent({
|
|||||||
if (stop) {
|
if (stop) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (lockClick) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
onClick(position, event);
|
onClick(position, event);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user