<button type="button" class="mui-btn" id="goGame" disabled="disabled">立即开始</button>
document.getElementById("goGame").addEventListener("tap",function(){
mui.openWindow({
url:"redEnvelopeGame.html",
id:"redEnvelopeGame.html"
})
})
为啥我的这个button 监听的tap事件多次点击后还会执行(就是一直点,不指定哪次就执行了)
![l***@163.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/648b2d6d7f699844c99bc8cce0b50f0c.png)
l***@163.com
- 发布:2018-11-01 10:19
- 更新:2018-11-01 10:19
- 阅读:1214
0 个回复