From e81583113a19a744815d8b1559feedde41b2fb9a Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期三, 23 三月 2022 17:51:13 +0800 Subject: [PATCH] 要素管理 --- 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