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

 

相关文章:

  • 2022-12-23
  • 2021-12-17
  • 2021-12-17
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-31
  • 2022-01-16
  • 2021-06-08
  • 2022-12-23
  • 2021-11-17
  • 2021-12-17
  • 2021-04-08
相关资源
相似解决方案