this.addEventListener(egret.TouchEvent.TOUCH_BEGIN, (event) => { if (event.target!=this) return;//防止按钮事件冒泡穿透 this.isCancelTap = false; }, this)
this.addEventListener(egret.TouchEvent.TOUCH_BEGIN, (event) => { if (event.target!=this) return;//防止按钮事件冒泡穿透 this.isCancelTap = false; }, this)
相关文章: