提交 211ddd73 编写于 作者: fxy060608's avatar fxy060608

fix(v3): touches

上级 57721682
......@@ -154,12 +154,10 @@ function touchmove (evt) {
return clearLongPressTimer()
}
const {
touches: [{
pageX,
pageY
}]
} = evt
const {
pageX,
pageY
} = evt.touches[0]
if (Math.abs(pageX - startPageX) > LONGPRESS_THRESHOLD || Math.abs(pageY - startPageY) > LONGPRESS_THRESHOLD) {
return clearLongPressTimer()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册