提交 efcbf229 编写于 作者: D DCloud_LXH

chore: scroll-view

上级 6c1b992f
......@@ -224,11 +224,12 @@ export default {
}
this.__handleTouchMove = function (event) {
if (touchStart === null) return
var x = event.touches[0].pageX
var y = event.touches[0].pageY
var main = self.$refs.main
if (touchStart === null) return
if (Math.abs(x - touchStart.x) > Math.abs(y - touchStart.y)) {
// 横向滑动
if (self.scrollX) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册