From dd43c95c5a020c1a828263cc5944ed6fb644b65d Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期五, 05 五月 2023 08:53:18 +0800 Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/~mayuhao/HazardInvestigationSystem --- src/components/Map/libs/Map.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Map/libs/Map.js b/src/components/Map/libs/Map.js index 6148960..6ebbb4f 100644 --- a/src/components/Map/libs/Map.js +++ b/src/components/Map/libs/Map.js @@ -1414,8 +1414,8 @@ this.measureTool.clearMeasure(); this.clearAllPlots(); this.removeModels(); - // this.viewer.destroy(); - // this.viewer = null; - // this.fire(UI_CHANGE_EVENT); + this.viewer.destroy(); + this.viewer = null; + this.fire(UI_CHANGE_EVENT); } } -- Gitblit v1.9.2