From c5ea0672abb7a91161097bb873b54ad564bdaadd Mon Sep 17 00:00:00 2001 From: Joe <1712833832@qq.com> Date: Fri, 19 Jan 2024 12:55:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/Home/components/RoadAndEvents/utils/map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 b2bddf1e..87c906d1 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 @@ -104,7 +104,7 @@ export async function setMarkToMap(item, data, _markerClick, content) { const normal = require(`@screen/images/layer${item.id.replace( /^\.|[^/]+(?=.svg$)/g, - (data) => (data === "." ? "" : `${data}_active`) + (data) => (data === "." ? "" : `${data}`) )}`); const fault = require(`@screen/images/layer${item.id.replace( @@ -113,7 +113,7 @@ export async function setMarkToMap(item, data, _markerClick, content) { )}`); const faultBg = require(`@screen/images/mapBg/fault.svg`); - const normalBg = require(`@screen/images/mapBg/active.svg`); + const normalBg = require(`@screen/images/mapBg/normal.svg`); const markerClick = (e) => { const extData = e.target.getExtData();