fix
wangjuncheng
2025-05-19 9cfb710bf41c5638c9d66e4197fb60e1ccba3208
fix
已修改1个文件
3 ■■■■■ 文件已修改
src/components/menu/Location.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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();