This commit is contained in:
曹辉 2023-04-26 16:25:38 +08:00
parent 5c971cc316
commit d17979d2d1

View File

@ -86,7 +86,9 @@
}, },
// //
videoshowfalse() { videoshowfalse() {
if (this.videoitem.watchTime) {
this.videoitem.watchTime = this.formatSeconds(this.videoitem.watchTime) this.videoitem.watchTime = this.formatSeconds(this.videoitem.watchTime)
}
insertTrainingItemWatchRecord(this.videoitem).then(res => { insertTrainingItemWatchRecord(this.videoitem).then(res => {
this.videoitem.watchTime = 0 this.videoitem.watchTime = 0
this.info(); this.info();