From 974c13543c4534d4783eb521a5ba2af68f8b007b Mon Sep 17 00:00:00 2001
From: wr_1023 <wyun001@163.com>
Date: 星期四, 03 九月 2026 21:51:13 +0800
Subject: [PATCH] 修复首页内容

---
 src/modules/report/views/screen/index.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/modules/report/views/screen/index.vue b/src/modules/report/views/screen/index.vue
index cd0b453..2bda8a0 100644
--- a/src/modules/report/views/screen/index.vue
+++ b/src/modules/report/views/screen/index.vue
@@ -12,6 +12,7 @@
 import { computed } from 'vue';
 import { useRoute } from 'vue-router';
 import ScreenShell from '../../components/screen-shell.vue';
+import Map from './map.vue';
 import Overview from './overview.vue';
 import Resource from './resource.vue';
 import Carbon from './carbon.vue';
@@ -29,11 +30,14 @@
 	resource: Resource,
 	carbon: Carbon,
 	participation: Participation,
-	operation: Operation
+	operation: Operation,
+	map: Map
 };
 
 /** 鍋滅暀鍦� /report/screen/index锛岀敤 query.page锛堟垨鍔ㄦ�佽矾鐢� :page锛夊垏鎹㈠瓙椤碉紝涓嶅啀寮哄埗璺宠蛋 */
-const currentKey = computed<ScreenKey>(() =>
-	resolveScreenKey(route.params.page as string, route.query.page as string)
-);
+const currentKey = computed<ScreenKey>(() =>{
+	const key = resolveScreenKey(route.params.page as string, route.query.page as string);
+	console.log('[screen] params.page=', route.params.page, 'query.page=', route.query.page, '=> key=', key);
+	return key;
+});
 </script>

--
Gitblit v1.9.1