From ddf60f1de7a1632e5673806838aa1ef74fd3886b Mon Sep 17 00:00:00 2001
From: guonan <guonan201020@163.com>
Date: 星期二, 06 五月 2025 14:20:33 +0800
Subject: [PATCH] 修改选中区域flyTo以及标红;避险场所面片未清除;存储方案模拟区域

---
 src/views/left/KGSimOption/HistorySimulation.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/left/KGSimOption/HistorySimulation.vue b/src/views/left/KGSimOption/HistorySimulation.vue
index 1afbde8..0b05ed8 100644
--- a/src/views/left/KGSimOption/HistorySimulation.vue
+++ b/src/views/left/KGSimOption/HistorySimulation.vue
@@ -120,6 +120,7 @@
 import { useSimStore } from "@/store/simulation.js"; // 寮曞叆 Store
 import { getRainfallData } from "@/api/hpApi.js";
 import { SimAPIStore } from "@/store/simAPI";
+import { EventBus } from "@/eventBus"; // 寮曞叆浜嬩欢鎬荤嚎
 
 // 鑾峰彇 Store 瀹炰緥
 const simStore = SimAPIStore();
@@ -138,7 +139,7 @@
 // 瀹氫箟 Props
 const props = defineProps({
   selectedArea: {
-    type: String,
+    type: Object,
     required: true,
   },
 });
@@ -193,6 +194,7 @@
     history: rainfallHistory.value,
   };
   await simStore.addSimCheme(forms);
+  EventBus.emit("close-selectArea");
 };
 
 // 鍏抽棴淇濆瓨鏂规瀵硅瘽妗�

--
Gitblit v1.9.3