Browse Source

字段修改

wangqin
Joe 10 months ago
parent
commit
b673759aff
  1. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js

4
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js

@ -132,7 +132,9 @@ export async function setMarkToMap(item, data, _markerClick, content) {
content:
content ||
`<div style="
background-image: url(${item.status !== "0" ? faultBg : normalBg});
background-image: url(${
item.device_state !== "0" ? faultBg : normalBg
});
background-size: 100% 100%;
background-repeat: no-repeat;
width: 42px;

Loading…
Cancel
Save