|
@@ -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=''
|