From e69418585b9fbf5ac3195aa745de85bdbbc87071 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期六, 03 八月 2024 14:39:20 +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