使用 off 关闭 事件时 失效
使用这样的方式 取消注册不会成功
this.node.on(“testEvent”,this.refresh.bind(this)); 注册
this.node.off(“testEvent”,this.refresh.bind(this)); 取消注册
使用这样的方式才能成功
this.node.on(“testEvent”,this.refresh,this); 注册
this.node.off(“testEvent”,this.refresh.this); 取消注册