This commit is contained in:
duanliang
2025-04-25 12:40:43 +08:00
parent 3b0b9b9b30
commit 8a29b3a6e7
2 changed files with 6 additions and 6 deletions

View File

@@ -220,7 +220,7 @@ import PubSub from 'pubsub-js'
console.log(item,'item')
if (item.lng && item.lat) {
if (item.status == '行驶') {
if(item.type==1){
if(item.accstatus==1){
addMarker(shipIcon, [item.lng, item.lat], [36, 50])
}else{
@@ -228,7 +228,7 @@ import PubSub from 'pubsub-js'
}
}
if (item.status == '离线') {
if(item.type==1){
if(item.accstatus==1){
addMarker(shipOfflineIcon, [item.lng, item.lat], [36, 50])
}else{
@@ -238,7 +238,7 @@ import PubSub from 'pubsub-js'
}
if (item.status == '静止') {
if(item.type==1){
if(item.accstatus==1){
addMarker(shipStopIcon, [item.lng, item.lat], [36, 50])
}else{