onLoad: function () {
this.errorLable = this.node.getChildByName(“errLable”);
this.errorLable.active = false;
…
},
JS Exception: comp.node is null, file: E:/workfile/CocosCreator/resources/cocos2d-x/simulator/win32//src/jsb_polyfill.js, lineno: 8396
如果在start里面设置this.errorLabel.active = false 就没有问题
不知道是为什么 ,在creator之前的版本中我一直是在onLoad里面用的都没有问题,昨天更新了1.6就出现问题了