JX.LI 2 år sedan
förälder
incheckning
3bdd5aaa0c
1 ändrade filer med 2 tillägg och 1 borttagningar
  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>