From bfcfcaa95b1600632a4a7351db2dd952aa227349 Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期六, 20 一月 2024 00:02:26 +0800
Subject: [PATCH] bug修改

---
 src/components/sideMenu/roamPanel/roamPanel.vue |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/components/sideMenu/roamPanel/roamPanel.vue b/src/components/sideMenu/roamPanel/roamPanel.vue
index 5c5125a..e3ae655 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) => {
@@ -103,9 +113,9 @@
         };
         window.PathAnimationData.winIndex = layer.open({
           type: 2,
-          title: "璺緞鍔ㄧ敾",
+          title: result.name,
           shade: false,
-          area: ["352px", "690px"],
+          area: ["100%", "210px"],
           offset: "r",
           skin: "other-class",
           content: SmartEarthRootUrl + "Workers/path/Path.html",

--
Gitblit v1.9.3