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/world/world.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/views/screen/components/screen-map-three/experience/world/world.js b/src/views/screen/components/screen-map-three/experience/world/world.js
index 9ec2b12..a872335 100644
--- a/src/views/screen/components/screen-map-three/experience/world/world.js
+++ b/src/views/screen/components/screen-map-three/experience/world/world.js
@@ -1,6 +1,5 @@
import EventEmitter from '../utils/eventEmitter';
import Enviroment from './enviroment';
-
import Map from './map';
export default class World extends EventEmitter {
@@ -13,6 +12,10 @@
}
update() {
-
+ this.enviroment.update();
+ }
+ destroy() {
+ this.enviroment.destroy();
+ this.map.destroy();
}
}
\ No newline at end of file
--
Gitblit v1.8.0