From 7d99c78c767f5ec13f9bbab6e1251825e92ea009 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期一, 29 四月 2024 17:53:16 +0800
Subject: [PATCH] 合同考核结果定时任务、详情、查询、导出
---
src/views/screen/components/screen-map-three/experience/renderer.js | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/screen/components/screen-map-three/experience/renderer.js b/src/views/screen/components/screen-map-three/experience/renderer.js
index 725c396..a5febfa 100644
--- a/src/views/screen/components/screen-map-three/experience/renderer.js
+++ b/src/views/screen/components/screen-map-three/experience/renderer.js
@@ -14,7 +14,7 @@
canvas: this.canvas,
antialias: true,
alpha: true,
- // logarithmicDepthBuffer: true
+ logarithmicDepthBuffer: true
});
// this.instance.toneMapping = THREE.CineonToneMapping;
// this.instance.toneMappingExposure = 1.75;
@@ -30,4 +30,8 @@
update() {
this.instance.render(this.scene, this.camera.instance);
}
+ destroy() {
+ this.instance.dispose();
+ this.instance.domElement.remove();
+ }
}
\ No newline at end of file
--
Gitblit v1.8.0