kuiGe11

Results 1 comments of kuiGe11

> dom的删除,通过管理容器父dom即可 > 引擎数据资源销毁,参考文档中的destroy函数:topology.destroy() 我是这样写的,在componentDidMount中创建实例,this.canvas = new Topology(),然后再componentWillUnmount销毁生命周期中,创建的这个实例销毁,这样写的this.canvas.destroy(),这样不管用啊,缓存还是存在