From f0cf67e3f93bef082f2ca02139a7fe647b33e467 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期三, 15 三月 2023 18:52:02 +0800
Subject: [PATCH] 优化图层管理的折叠会折叠其它的面板;优化柱状图属性界面;优化WMS图层加载效果;优化资料馆上传的附件,前端显示不出来效果;综合展示拾取功能

---
 src/components/MapView/mapSpacePop.vue |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/components/MapView/mapSpacePop.vue b/src/components/MapView/mapSpacePop.vue
index 661cf6b..162a30f 100644
--- a/src/components/MapView/mapSpacePop.vue
+++ b/src/components/MapView/mapSpacePop.vue
@@ -473,10 +473,18 @@
             }
             that.$store.state.propertiesFlag = "2"
           } else {
-            that.$store.state.propertiesFlag = propertiesFlag
+            if (propertiesFlag == 1) {
+              that.$store.state.propertiesFlag = propertiesFlag
+            } else {
+              that.$store.state.propertiesFlag = null
+            }
           }
         } else {
-          that.$store.state.propertiesFlag = propertiesFlag
+          if (propertiesFlag == 1) {
+            that.$store.state.propertiesFlag = propertiesFlag
+          } else {
+            that.$store.state.propertiesFlag = null
+          }
         }
       }, Cesium.ScreenSpaceEventType.MOUSE_MOVE)
     },
@@ -569,10 +577,6 @@
           num -= val[i].botdepth;
           this.$store.state.histogramLayer.push(layer)
         }
-
-
-
-
       }
 
     },
@@ -864,7 +868,7 @@
   },
   destroyed() {
     this.$store.state.propertiesFlag = null
-    if (propertieshandler != null && Cesium.defined(propertieshandler)) {
+    if (window.propertieshandler != null && Cesium.defined(window.propertieshandler)) {
       window.propertieshandler.removeInputAction(
         Cesium.ScreenSpaceEventType.LEFT_CLICK
       )

--
Gitblit v1.9.3