提交 f54e1d64 编写于 作者: Q qiang

fix: 解决 H5 平台点击事件获取的 x 坐标不正确的问题

上级 6ade603d
......@@ -62,7 +62,7 @@ export function processEvent (name, $event = {}, detail = {}, target = {}, curre
} = getWindowOffset()
detail = {
x: $event.x - top,
x: $event.x,
y: $event.y - top
}
$event.touches = $event.changedTouches = [{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册