Browse Source

移除报错

wangqin
Joe 10 months ago
parent
commit
c733e02fc3
  1. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js

6
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("未能匹配到诱导设备位置!");
},
};

Loading…
Cancel
Save