This commit is contained in:
zengmingjie 2025-07-12 23:55:19 +08:00
parent f2a0977133
commit cdf6f6f5f5
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ export function allDevices(options, type, show) {
: require(`@/assets/img/device/deviceIcon/${deviceItem.icon}-offline.png`)
}
});
if (deviceItem.icon === "9") {
if (deviceItem.isMove) {
graphic.setOptions({
position: new mars3d.LngLatPoint(
deviceItem.lon,
@ -205,7 +205,7 @@ export function allDevices(options, type, show) {
: require(`@/assets/img/device/deviceIcon/${item.icon}-offline.png`)
}
});
if (deviceItem.icon === "9") {
if (deviceItem.isMove) {
graphic.setOptions({
position: new mars3d.LngLatPoint(deviceItem.lon, deviceItem.lat, 0)
});