diff --git a/src/views/monitoringCenter/deviceLocationMap.vue b/src/views/monitoringCenter/deviceLocationMap.vue index 501e069..681a061 100644 --- a/src/views/monitoringCenter/deviceLocationMap.vue +++ b/src/views/monitoringCenter/deviceLocationMap.vue @@ -71,9 +71,9 @@ const getLocateRecord = () => { if (list.length < 50) { let marker: any = ""; if (index == 0) { - marker = newMap.marker({ icon: endIcon, position: [item.lng, item.lat], zIndex: 13 }); - } else if (index == list.length - 1) { marker = newMap.marker({ icon: startIcon, position: [item.lng, item.lat], zIndex: 13 }); + } else if (index == list.length - 1) { + marker = newMap.marker({ icon: endIcon, position: [item.lng, item.lat], zIndex: 13 }); } else { marker = newMap.marker({ icon: ViaIcon, position: [item.lng, item.lat], zIndex: 12 }); } @@ -119,6 +119,7 @@ onMounted(() => { height: 400px; flex-shrink: 0; position: relative; + .toolbox { width: 32px; height: 32px; diff --git a/src/views/monitoringCenter/deviceModel.vue b/src/views/monitoringCenter/deviceModel.vue index 209abb9..01be563 100644 --- a/src/views/monitoringCenter/deviceModel.vue +++ b/src/views/monitoringCenter/deviceModel.vue @@ -2,7 +2,7 @@