From c5c80dbc2632719789b91d236de7cf1e6497557d Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 23 九月 2024 19:15:43 +0800
Subject: [PATCH] 大屏分离平台在线和考核成绩接口

---
 src/views/screen/components/screen-map-three/experience/cssRenderer.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/views/screen/components/screen-map-three/experience/cssRenderer.js b/src/views/screen/components/screen-map-three/experience/cssRenderer.js
index dcae37c..c433745 100644
--- a/src/views/screen/components/screen-map-three/experience/cssRenderer.js
+++ b/src/views/screen/components/screen-map-three/experience/cssRenderer.js
@@ -28,4 +28,8 @@
   update() {
     this.instance.render(this.scene, this.camera.instance);
   }
+
+  destroy() {
+    this.instance.domElement.remove();
+  }
 }
\ No newline at end of file

--
Gitblit v1.8.0