From b3d9e0d7a9479ba8e615a82e6f454fd2ebf62ac6 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期六, 29 五月 2021 10:20:16 +0800
Subject: [PATCH] 企业应急-事件上报-搜索定位/经纬度定位修改

---
 src/components/helpers/MapManager.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/components/helpers/MapManager.js b/src/components/helpers/MapManager.js
index 791ebe8..eae4b26 100644
--- a/src/components/helpers/MapManager.js
+++ b/src/components/helpers/MapManager.js
@@ -30,7 +30,9 @@
       this.loadWfsDatas(e.latlng).then((res) => {
         if (res.features.length > 0) {
           highlight(res.features[0])
-          openPropsPopup(e.latlng, res.features)
+          if (this.clickDialogSwitch) {
+            openPropsPopup(e.latlng, res.features)
+          }
         }
       })
     })

--
Gitblit v1.8.0