From d06f7ad0231d5fb029ab8520bf442590d3bab20b Mon Sep 17 00:00:00 2001
From: guonan <guonan201020@163.com>
Date: 星期三, 16 七月 2025 15:29:13 +0800
Subject: [PATCH] 完善监测设备弹窗

---
 src/store/simulation.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/store/simulation.js b/src/store/simulation.js
index bb75f7e..e810802 100644
--- a/src/store/simulation.js
+++ b/src/store/simulation.js
@@ -1,6 +1,7 @@
 // stores/ui.js
 import { defineStore } from 'pinia'
 import { ref } from 'vue'
+import { showDeviceDetail } from "@/store";
 export const useSimStore = defineStore('simulation', () => {
     // 鏂潰鏁版嵁
     const crossSection = ref([])
@@ -157,7 +158,6 @@
     const startMNPG = () => {
         init()
         isShowEarth.value = false
-
     }
 
     const setBackToHome = (value) => {
@@ -166,6 +166,7 @@
 
     // 瀵艰埅鐐瑰嚮
     const handleNavClick = (index) => {
+        showDeviceDetail.value = false;
         switch (index) {
             case 1:
                 startYHGL()

--
Gitblit v1.9.3