CzRger il y a 1 an
Parent
commit
aab42f5ba7
1 fichiers modifiés avec 6 ajouts et 4 suppressions
  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()
     }