JX.LI vor 2 Jahren
Ursprung
Commit
3bdd5aaa0c
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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>