李志伟 3 lat temu
rodzic
commit
9a808bfa0b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/pages/machineryMap/index.jsx

+ 1
- 1
src/pages/machineryMap/index.jsx Wyświetl plik

99
           id: index,
99
           id: index,
100
           longitude: locList[index % 10].longitude,
100
           longitude: locList[index % 10].longitude,
101
           latitude: locList[index % 10].latitude,
101
           latitude: locList[index % 10].latitude,
102
-          iconPath: item.status == 0 ? m3 : (item.jobStatus || item.jobStatus == 3) ? m2 : m1,
102
+          iconPath: item.status == 0 ? m3 : (!item.jobStatus || item.jobStatus == 3) ? m2 : m1,
103
           width: 50,
103
           width: 50,
104
           height: 50
104
           height: 50
105
         }
105
         }