node.getComponent(cc.Button).interactable = false;无效

properties设置的是node,node下有Button组件
设置属性之后,按钮变灰,但还是会执行node的事件

这两个试试其属性也加上.我之前也有遇到过.

这算是一个bug了