julyL
julyL
有几个小错误
```js const history = new History() const state = { a: 1, b: 2 } history.pushSync({ ...state }) history.pushSync({ ...state, ...{ a: 2 } }) history.pushSync({ ...state, ...{ a: 3...
执行以下代码,ios手机中,仍然在使用摄像头 ``` if (this._texture) { this._texture.dispose(); this._texture = null; } if (this.renderer) { this.renderer.dispose(); this.renderer = null; } if (this.scene) { this.scene.dispose(); this.scene = null; } if (this.camera) this.camera =...