From 89380e6260a75d1d3b94de687ebcc2f50d50659d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 03 Feb 2026 15:44:33 +0800
Subject: [PATCH] feat:环境变量配置调整

---
 applications/mobile-web-view/src/appComponents/workMap/index.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/applications/mobile-web-view/src/appComponents/workMap/index.vue b/applications/mobile-web-view/src/appComponents/workMap/index.vue
index 3173e2b..5df7896 100644
--- a/applications/mobile-web-view/src/appComponents/workMap/index.vue
+++ b/applications/mobile-web-view/src/appComponents/workMap/index.vue
@@ -12,7 +12,7 @@
 <script setup>
 import { searchGeocoder } from '@/utils/util'
 import mapnavIcon from '@/appDataSource/appwork/mapnav.svg'
-import incidentPoint from '@/appDataSource/appwork/positioning.svg'
+import incidentPoint from '@/appDataSource/appwork/positioning1.svg'
 import userLocationIcon from '@/appDataSource/leafletMapIcon/user-location.svg'
 import locationIcon from '@/appDataSource/leafletMapIcon/location-icon.svg'
 import { useStore } from 'vuex'
@@ -291,10 +291,11 @@
 watch(
 	() => mapCurrentDetail,
 	newVal => {
+const newDataMap=newVal
 		// 只有 workNavigationShow 为 true 且有经纬度时才添加标记
-		if (workNavigationShow && newVal?.longitude && newVal?.latitude) {
-			addIncidentMarker(newVal)
-			mapCurrentDetailData.value = newVal
+		if (workNavigationShow && newDataMap?.longitude && newDataMap?.latitude) {
+			addIncidentMarker(newDataMap)
+			mapCurrentDetailData.value = newDataMap
 		} else if (!workNavigationShow && incidentMarker) {
 			// 当 workNavigationShow 变为 false 时,移除已添加的标记
 			markersLayer.removeLayer(incidentMarker)

--
Gitblit v1.9.3