From 4c10d989e75a875ef4539d8ef5519a6a18cf84de Mon Sep 17 00:00:00 2001
From: cqf <2@qq.com>
Date: 星期二, 12 七月 2022 13:50:05 +0800
Subject: [PATCH] 循环添加key

---
 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