2.3.0正式版, node.children = [] web没问题,小程序报错

不能这样操作喔。对场景的修改,需要通过 API。这里可以用 node.removeAllChildren() 或者 destroyAllChildren()

感谢!