提交 8de23644 编写于 作者: DCloud_JSON's avatar DCloud_JSON

修复 示例模板drop-card在 web 端没有阻止默认行为的问题

上级 cf940121
......@@ -112,6 +112,10 @@
sX = e.touches[0].screenX;
sY = e.touches[0].screenY;
this.moveCard()
// #ifdef WEB
//阻止默认行为
e.preventDefault()
// #endif
},
touchend() {
// console.log('touchend')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册