From 83d36e987d4bba6762605dc52a76478a0fa0f12c Mon Sep 17 00:00:00 2001 From: qingzhengli <1204552371@qq.com> Date: Mon, 1 Apr 2024 18:06:22 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=20=E5=A2=9E=E5=8A=A0=E5=BB=B6=E8=BF=9F8?= =?UTF-8?q?40?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/Home/components/RoadAndEvents/utils/map.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js index ff81bccc..a0b120d9 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js @@ -238,6 +238,7 @@ export class MarkerCluster { const reset = () => { if (!window.openInfoWindow) { + // console.log(window.openInfoWindow, "rest"); this.infoWindow?.close?.(); } }; @@ -248,7 +249,7 @@ export class MarkerCluster { if (window.openInfoWindow) { console.log("窗口位移结束"); window.openInfoWindow = false; - await new Promise((resolve) => setTimeout(resolve, 340)); + await new Promise((resolve) => setTimeout(resolve, 840)); window.infoWindow?.open?.(); } });