From 0362dbf2495b3281607f7c74b160a78c923fb6b4 Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期二, 23 一月 2024 11:51:29 +0800 Subject: [PATCH] 定位 --- src/components/rightNavigation/NavigationBar.vue | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/rightNavigation/NavigationBar.vue b/src/components/rightNavigation/NavigationBar.vue index 969199d..3db494c 100644 --- a/src/components/rightNavigation/NavigationBar.vue +++ b/src/components/rightNavigation/NavigationBar.vue @@ -5,8 +5,6 @@ <img src="@/assets/img/navigation/menuicon.png" /> </el-button> </div> - <!-- <div class="menuBtn" @click="handleMenuListShow"></div> --> - <div class="menuList" v-show="showMenuList.show"> <ul> <li @@ -106,6 +104,7 @@ }; }, methods: { + // 鐐瑰嚮鍙充笂瑙掕彍鍗曟寜閽� handleMenuListShow() { // 娓呴櫎瀹氱偣缁曢 if (window.pointerFly) { @@ -118,9 +117,16 @@ this.showMenuList.show = !this.showMenuList.show; store.setMenuListShow(this.showMenuList.show); }, + + // 鐐瑰嚮鍙充笂瑙掕彍鍗曢」 handleMenuClick(attr) { - debugger; - //娓呴櫎鐐� + // debugger; + // 娓呴櫎瀹氱偣缁曢 + if (window.pointerFly) { + window.pointerFly.end && window.pointerFly.end(); + window.pointerFly = null; + } + //娓呴櫎鎼滅储鐐� flyPoint && Viewer.entities.remove(flyPoint); flyPoint = undefined; switch (attr) { -- Gitblit v1.9.3