摘要: 因项目中使用 coffeeScript (http://coffee-script.org/),此处记录下用 coffeeScript 语法解决 tap 事件触发两次的问题。 在 id="button" 上绑定 tap 触摸事件如下代码: 分析: 在浏览器中点击一次 button 会输出两次 ‘11 阅读全文
posted @ 2019-07-11 17:59 Jaye8584 阅读(1446) 评论(0) 推荐(0) 编辑