摘要: 对于同一控件同时设置bindtap和bindlongtap,会发现长按时先出现bindlongtap的事件,然后触发点击事件。 通过测试,我们发现,小程序中事件执行的顺序是 点击:touchstart → touchend → tap 长按 touchstart → longtap → touche 阅读全文
posted @ 2022-01-26 16:36 pengcx 阅读(884) 评论(0) 推荐(0) 编辑