From 2dbdb6cb7e8e5e118fc0bd0c0a21be980b95143c Mon Sep 17 00:00:00 2001
From: Kxc0822a <kxc000822>
Date: Mon, 18 Apr 2022 18:03:09 +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