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/PredictiveSimulation.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/views/left/KGSimOption/PredictiveSimulation.vue b/src/views/left/KGSimOption/PredictiveSimulation.vue index 21349d8..3592e33 100644 --- a/src/views/left/KGSimOption/PredictiveSimulation.vue +++ b/src/views/left/KGSimOption/PredictiveSimulation.vue @@ -112,6 +112,8 @@ import { useSimStore } from "@/store/simulation.js"; // 寮曞叆 Store import { SimAPIStore } from "@/store/simAPI"; import { getRainfallData } from "@/api/hpApi"; +import { EventBus } from "@/eventBus"; // 寮曞叆浜嬩欢鎬荤嚎 + onMounted(() => { getRain(); @@ -133,7 +135,7 @@ // 瀹氫箟 Props const props = defineProps({ selectedArea: { - type: String, + type: Object, required: true, }, }); @@ -203,6 +205,8 @@ prediction: forms.prediction, }; await simStore.addSimCheme(params); + EventBus.emit("close-selectArea"); + }; // 鎵撳紑鏂规 -- Gitblit v1.9.3