From b76fd2fa93c2036d66e5142654cf66cf1e371531 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 30 四月 2024 17:12:34 +0800 Subject: [PATCH] 改为连表查询 --- 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