From 687d15815ed738173c5a82495f0056fb2c9d7f25 Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期二, 08 七月 2025 15:56:20 +0800 Subject: [PATCH] 优化 --- src/utils/map.js | 3 +-- src/views/Home.vue | 1 - 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/utils/map.js b/src/utils/map.js index 25a7ef8..b7939e0 100644 --- a/src/utils/map.js +++ b/src/utils/map.js @@ -200,8 +200,7 @@ if (Cesium.defined(picked) && id) { const entity = picked?.id; const simStore = useSimStore() - - if (entity && !simStore.openDia) { + if (entity && !simStore.openDia && entity.attrs.type == '娉ヤ綅璁�') { let obj = { deviceName: entity.attrs.deviceName, latitude: entity.attrs.latitude, diff --git a/src/views/Home.vue b/src/views/Home.vue index efd0a70..243e35a 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -129,7 +129,6 @@ getAllCode().then((res) => { // 鍖椾含甯傛墍鏈夋潙浠ュ強琛楅亾code simStore.townCodeAll = extractAllChildrenInfoUnique(res.data[0].children); - console.log(simStore.townCodeAll,'aaaaaaaaa') }); setupTokenRefresh(); // 鑾峰彇瀹忓浘token // getSimData(); //娴嬭瘯tr鍚庣 -- Gitblit v1.9.3