This commit is contained in:
zyronon 2018-10-27 22:23:10 +08:00
parent 5e9243c9cb
commit ce4eab0290

View File

@ -137,12 +137,14 @@
let currentVideo = self.$refs.video[self.currentPlayIndex];
currentVideo.pause();
self.isPlaying = false;
}else {
let currentVideo = self.$refs.video[self.currentPlayIndex];
currentVideo.play();
self.isPlaying = true;
}
if (this.activeIndex == 0 ) {
if (!self.isPlaying){
let currentVideo = self.$refs.video[self.currentPlayIndex];
currentVideo.play();
self.isPlaying = true;
}
}
},
},
},