From 50c88323724d77f463af6653041382959a128923 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期五, 30 八月 2024 17:40:28 +0800
Subject: [PATCH] feat:更新图像资源到index表并展示
---
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