JX.LI 2 yıl önce
ebeveyn
işleme
3bdd5aaa0c
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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>