damienlsq
damienlsq
Nextjs16 用不到了,原来Nextjs15还行,升级后完全不行了
请查找一下关键字“TOUCH_BAGAN”,代码里面有好几处地方用了这个错误的写法
ScrollView 使用removeAllChildren的bug,并不会清除节点,问题在于: cocos2d-html5 / extensions / ccui / layouts / UILayout.js里的 removeAllChildrenWithCleanup: function(cleanup){ ccui.Widget.prototype.removeAllChildrenWithCleanup(cleanup); this._doLayoutDirty = true; }, 应该为 removeAllChildrenWithCleanup: function(cleanup){ ccui.Widget.prototype.removeAllChildrenWithCleanup.call(this,cleanup); this._doLayoutDirty = true; },