|
@@ -336,11 +336,7 @@
|
|
|
let latitude = point.lat;
|
|
|
let longitude = point.lng;
|
|
|
let iconPath = ''
|
|
|
- if (point.deviceStatus === 'PAUSE') {
|
|
|
- iconPath = '/static/img/store-dky.png'
|
|
|
- } else if (point.deviceStatus === 'USING' || point.deviceStatus === 'ON_LINE') {
|
|
|
- iconPath = '/static/img/store.png'
|
|
|
- }
|
|
|
+ iconPath = point.deviceStatus === 'PAUSE' ? '/static/img/store-dky.png' : '/static/img/store.png'
|
|
|
let marker = {
|
|
|
iconPath: iconPath,
|
|
|
id: point.id || 0,
|