Explorar o código

Merge branch 'master' of http://192.168.0.115:3000/chenzhiguang/zhengzhou_university

tremble %!s(int64=4) %!d(string=hai) anos
pai
achega
1aa2a3dcae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/src/views/gui/newguide.vue

+ 1 - 1
web/src/views/gui/newguide.vue

@@ -162,7 +162,7 @@ export default {
         this.guide = window.player.model.images;
          //监听导览状态
           window.player.on('onplayStatus', (data)=>{
-            this.guideActive = data.destinationItem[0]
+            this.guideActive = data.destinationItem && data.destinationItem[0]
             this.swiper && this.swiper.slideTo(this.guideActive)
             //if (!data.tourIsPlaying) {
             //  this.guideActive=''