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 37d578ae..e61b2ce0 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 @@ -90,6 +90,9 @@ export class MarkerCluster { extData, }; } + if (graphInstance.getCellById(stakeMark)) { + graphInstance.removeNode(stakeMark); + } graphInstance.addNode({ x: distance, y: 60,