diff --git a/web/src/views/HandDevice/Home/components/HistoricalCurve.vue b/web/src/views/HandDevice/Home/components/HistoricalCurve.vue new file mode 100644 index 0000000..d791ce7 --- /dev/null +++ b/web/src/views/HandDevice/Home/components/HistoricalCurve.vue @@ -0,0 +1,316 @@ + + + + {{ currentMarker?.name }}手持表 + {{ currentMarker?.gasChemical }}检测 + + + + + + {{ currentMarker?.gasChemical }}浓度与电量趋势 + + + + + + + + + + + + + + + diff --git a/web/src/views/HandDevice/Home/components/OpenLayerMap.vue b/web/src/views/HandDevice/Home/components/OpenLayerMap.vue index 4ec4b78..4b93055 100644 --- a/web/src/views/HandDevice/Home/components/OpenLayerMap.vue +++ b/web/src/views/HandDevice/Home/components/OpenLayerMap.vue @@ -263,6 +263,7 @@ const fitToMarkers = () => { } const setCenter = (coords: [number, number]) => { console.log('setCenter', coords) + showMarkers.value = true if (isMapInitialized) { services.mapService?.setCenter(coords) diff --git a/web/src/views/HandDevice/Home/components/TrajectoryControls.vue b/web/src/views/HandDevice/Home/components/TrajectoryControls.vue index efa3251..435bd98 100644 --- a/web/src/views/HandDevice/Home/components/TrajectoryControls.vue +++ b/web/src/views/HandDevice/Home/components/TrajectoryControls.vue @@ -271,7 +271,7 @@ watch( { deep: true } ) -