From 9cfb710bf41c5638c9d66e4197fb60e1ccba3208 Mon Sep 17 00:00:00 2001
From: wangjuncheng <1>
Date: 星期一, 19 五月 2025 15:03:16 +0800
Subject: [PATCH] fix

---
 src/components/menu/Location.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/components/menu/Location.vue b/src/components/menu/Location.vue
index feae123..312a474 100644
--- a/src/components/menu/Location.vue
+++ b/src/components/menu/Location.vue
@@ -118,6 +118,7 @@
   );
 
   if (JSON.stringify(districtList.value) !== JSON.stringify(filteredData)) {
+    districtList.value = filteredData;
     await initializeDevicePoints();
   }
 };
@@ -134,6 +135,8 @@
 let isInitialized = false;
 
 watch(() => simStore.DangerShowSwitch, async (newValue, oldValue) => {
+  console.log('褰撳墠鐘舵�侊細', newValue);
+
   if (newValue) {
     if (!isInitialized) {
       await initializeDevicePoints();

--
Gitblit v1.9.3