From 18f783a34f5e3b1b1c5b9b74ec91dcbfc7c19963 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 23 七月 2024 11:11:42 +0800 Subject: [PATCH] 报备时间搜索bug --- src/views/screen/components/screen-map-three/experience/renderer.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/views/screen/components/screen-map-three/experience/renderer.js b/src/views/screen/components/screen-map-three/experience/renderer.js index e75b135..a5febfa 100644 --- a/src/views/screen/components/screen-map-three/experience/renderer.js +++ b/src/views/screen/components/screen-map-three/experience/renderer.js @@ -30,4 +30,8 @@ update() { this.instance.render(this.scene, this.camera.instance); } + destroy() { + this.instance.dispose(); + this.instance.domElement.remove(); + } } \ No newline at end of file -- Gitblit v1.8.0