Browse Source

避开雷达

CzRger 1 year ago
parent
commit
aab42f5ba7
1 changed files with 6 additions and 4 deletions
  1. 6 4
      src/views/element/index-ol.vue

+ 6 - 4
src/views/element/index-ol.vue

@@ -603,10 +603,12 @@ export default defineComponent({
     }
     const onShowAll = () => {
       state.treeData.forEach(p => {
-        p._show = true
-        p.children?.forEach(v => {
-          v._show = true
-        })
+        if (p.mapId !== 'radarList') {
+          p._show = true
+          p.children?.forEach(v => {
+            v._show = true
+          })
+        }
       })
       setSourceData()
     }