From 1de23a596f1457db2ea9861645a568e779d7664f Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期五, 19 一月 2024 17:33:52 +0800
Subject: [PATCH] 20240119

---
 src/components/sideMenu/roamPanel/roamPanel.vue |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/components/sideMenu/roamPanel/roamPanel.vue b/src/components/sideMenu/roamPanel/roamPanel.vue
index 6ddb505..97f3d4e 100644
--- a/src/components/sideMenu/roamPanel/roamPanel.vue
+++ b/src/components/sideMenu/roamPanel/roamPanel.vue
@@ -68,6 +68,7 @@
     };
   },
   methods: {
+    // 瀹氱偣缁曢
     handleAroundClick() {
       this.closeCurrentOperator();
       store.setRoamPanelShow(false);
@@ -82,9 +83,18 @@
       //     //缁撴潫璺緞婕父
       //     this.ljmy();
       // }
-      sgworld.drawObj = window.currentOperator = sgworld.Analysis.setPointFly();
+      window.pointerFly=sgworld.drawObj = window.currentOperator = sgworld.Analysis.setPointFly();
     },
+    // 缁撴潫椤剁偣缁曢
+     setClearPointFly() {
+        if (this.pointerFly) {
+            this.pointerFly && this.pointerFly.end();
+            this.pointerFly = null;
+        }
+    },
+    // 婕父
     handleRoamClick(result) {
+      store.setBasicMap("涓夌淮褰卞儚");
       store.setRoamPanelShow(false);
       store.setSearchPanelShow(false);
       const val = roman.filter((res) => {

--
Gitblit v1.9.3