北京经济技术开发区经开区虚拟城市项目-【前端】-移动端Web
lixuliang
2024-01-23 0362dbf2495b3281607f7c74b160a78c923fb6b4
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) {