JX.LI 2 년 전
부모
커밋
3bdd5aaa0c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/components/supermap-2.5d.vue

+ 2 - 1
src/components/supermap-2.5d.vue

@@ -371,6 +371,7 @@
       createRightClickDescription() {
         let that = this;
         that.handler.setInputAction(function(movement) {
+          that.mapshow = false
           // 监听鼠标的当前位置坐标,然后根据当前坐标去动态更新气泡窗口div的显示位置;
           that.pick = that.viewer.scene.pick(movement.position);
           if (that.pick && that.pick) {
@@ -535,4 +536,4 @@
     opacity: 0;
     transform: translateY(-10rem);
   }
-</style>
+</style>