测试的版本是cocos2d-js 3.0 rc1,this.listView.removeAllItems();类似这样清除所有item的函数,最终调用到CCNode.js的removeAllChildren函数,但这时this._children的值是null。
JSB下没有问题,能够正常清除所有item。
测试的版本是cocos2d-js 3.0 rc1,this.listView.removeAllItems();类似这样清除所有item的函数,最终调用到CCNode.js的removeAllChildren函数,但这时this._children的值是null。
JSB下没有问题,能够正常清除所有item。