Commit 78f6e040 by kyle

解决点开视频重新开始播放的问题

parent 50d0971b
...@@ -408,11 +408,14 @@ ...@@ -408,11 +408,14 @@
fileId: this.fileId, fileId: this.fileId,
packFileId: this.courseInfo.packFileId packFileId: this.courseInfo.packFileId
} }
api.findVideoPlayback(param).then(res => { this.$nextTick(()=>{
if (res['success']) { api.findVideoPlayback(param).then(res => {
this.videoPlaybackInfo = res['data'] if (res['success']) {
} this.videoPlaybackInfo = res['data']
}
})
}) })
}, },
loadedmetadata(e) { loadedmetadata(e) {
this.totalTime = e.detail.duration; this.totalTime = e.detail.duration;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment