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?.(); } });