From be9c1145fc79165142fbe29aacb04dd8e34dd23f Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期二, 17 六月 2025 17:32:29 +0800 Subject: [PATCH] 避险场所以及完善弹窗详情 --- src/store/simulation.js | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/store/simulation.js b/src/store/simulation.js index 3e85e8c..6bc13bf 100644 --- a/src/store/simulation.js +++ b/src/store/simulation.js @@ -2,12 +2,11 @@ import { defineStore } from 'pinia' import { ref } from 'vue' export const useSimStore = defineStore('simulation', () => { - // 鐩綍鏍戦�変腑 - const userSelectedLayers = ref([]) + // 闅愭偅鐐瑰垪琛� + const DangerPoint = ref([]) const DeviceShowSwitch = ref(false) const DangerShowSwitch = ref(false) - const DangerPoint = ref([]) // 鐩戞祴璁惧鍒楄〃 const devices = ref([]) const navigationShow = ref(true) @@ -154,9 +153,7 @@ } } - const updateSelectedLayers = (keys) => { - userSelectedLayers.value = keys; - } + @@ -188,7 +185,6 @@ DangerShowSwitch, waterLegendData, isShowEarth, - userSelectedLayers, devices, // 鏂规鐩稿叧鏂规硶 @@ -210,6 +206,5 @@ startMNFZ, startMNPG, handleNavClick, - updateSelectedLayers } }) \ No newline at end of file -- Gitblit v1.9.3