shaogen1995 hace 3 años
padre
commit
5514a2c81a

+ 5 - 4
web/src/views/gui/compomemt/hotspot.vue

@@ -43,10 +43,11 @@ export default {
   methods: {
     openHot(e, index) {
       // 停止自动导览
-      window.player.director.stopTour()
-
-      e && e.examine(window.player, true);
-      this.hotInd = index;
+      window.player.director.stopTour();
+      setTimeout(() => {
+        e && e.examine(window.player, true);
+        this.hotInd = index;
+      }, 200);
     },
   },
   //生命周期 - 创建完成(可以访问当前this实例)

+ 4 - 2
webM/src/views/gui/component/hotspot.vue

@@ -40,8 +40,10 @@ export default {
       // 停止自动导览
       window.player.director.stopTour();
 
-      e && e.examine(window.player, true);
-      this.hotInd = index;
+      setTimeout(() => {
+        e && e.examine(window.player, true);
+        this.hotInd = index;
+      }, 200);
     },
   },
   //生命周期 - 创建完成(可以访问当前this实例)