From 579821bffd232e5e7614311347c5dc8e8aef31df Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 12 Jun 2025 18:07:29 +0800
Subject: [PATCH] feat:数据中心地图,编辑文件名

---
 src/views/dataCenter/components/dataCenterMap.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/dataCenter/components/dataCenterMap.vue b/src/views/dataCenter/components/dataCenterMap.vue
index 8efa061..217b3bd 100644
--- a/src/views/dataCenter/components/dataCenterMap.vue
+++ b/src/views/dataCenter/components/dataCenterMap.vue
@@ -25,12 +25,13 @@
 const currentAreaPosition = ref({ height: 1987280, latitude: 27.636112, longitude: 115.732975 });
 let handler = null;
 const props = defineProps(['jobId','mapList']);
+console.log('props.mapList',props.mapList);
 
 // 存储地图实体引用
 const dataPointEntities = ref([]);
 const isMapInitialized = ref(false); //地图加载
 const dataPointList = ref([]);
-const activeEntity = ref(null); // 当前激活的点
+const activeEntity = ref(props.mapList); // 当前激活的点
 
 // 获取弹框box
 const detailId = ref('')
@@ -244,6 +245,7 @@
   try {
     const res = await getMapInfoAPI(ids);
     dataPointList.value = res.data.data || [];
+console.log('dataPointList.value',dataPointList.value);
 
     // 确保地图已初始化后再渲染
     if (isMapInitialized.value && viewer) {

--
Gitblit v1.9.3