src/components/menu/Location.vue | ●●●●● 补丁 | 查看 | 原始文档 | 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();