This commit is contained in:
zengmingjie 2025-07-12 23:56:28 +08:00
parent 9cb3ad6b60
commit 5878fb97b3
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)
});