Browse Source

(*) 消防增加空值保护

master
peng.peng 1 year ago
parent
commit
f16b0202e7
  1. 2
      super-screen/client/src/sections/fire-control/containers/gis.js

2
super-screen/client/src/sections/fire-control/containers/gis.js

@ -71,7 +71,7 @@ function Map(props) {
const renderMarkers = () => {
const data = emergencyList['xfjy']
data.map((x, index) => {
data?.map((x, index) => {
var marker = new AMap.Marker({
position: new AMap.LngLat(x.location?.split(',')[0], x.location?.split(',')[1]),
// 将一张图片的地址设置为 icon

Loading…
Cancel
Save