‘最新提交’

master
xcw 2023-03-16 18:09:57 +08:00
parent da89a9d42c
commit f9a4083cea
1 changed files with 10 additions and 8 deletions

View File

@ -63,6 +63,7 @@
onUnload() { onUnload() {
console.log('页面销毁了') console.log('页面销毁了')
let course_video_id = this.videoList[this.currentIndex].course_video_id; let course_video_id = this.videoList[this.currentIndex].course_video_id;
if(course_video_id) {
let params = { let params = {
course_video_id:course_video_id, course_video_id:course_video_id,
duration:parseInt(this.currentTime), duration:parseInt(this.currentTime),
@ -72,6 +73,7 @@
console.log('观影记录提交成功',this.currentTime) console.log('观影记录提交成功',this.currentTime)
} }
}) })
}
}, },
methods:{ methods:{
// 视频滑动结束 // 视频滑动结束