From 92230b628efc92953e3112c6a7e886f46dbadb35 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期四, 20 五月 2021 09:16:31 +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