diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js index a5ee86f5..98b10018 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js @@ -67,12 +67,8 @@ export const eventMap = { if (!data) return; - if (code != 200) return Message.error("行车诱导设备加载失败!"); - cacheRemoveFunc.Driving_Guidance_Remove?.(); - let noneLocation = true; - cacheRemoveFunc.Driving_Guidance_Remove = await setMarkToMap.call( this, item, @@ -84,7 +80,5 @@ export const eventMap = { }; } ); - - if (noneLocation) Message.warning("未能匹配到诱导设备位置!"); }, };