修改
This commit is contained in:
parent
130bd124e1
commit
ea4ae6d7ff
@ -111,12 +111,14 @@
|
||||
};
|
||||
},
|
||||
onUnload() {
|
||||
if (this.videoitem.itemDirectoryCode) {
|
||||
if (this.videoerroshow) {
|
||||
if (this.videoitem.watchTime) {
|
||||
this.videoitem.watchTime = this.formatSeconds(this.videoitem.watchTime)
|
||||
}
|
||||
insertTrainingItemWatchRecord(this.videoitem).then(res => {})
|
||||
}
|
||||
}
|
||||
},
|
||||
onLaunch() {
|
||||
// 锁定横屏
|
||||
|
||||
@ -105,12 +105,14 @@
|
||||
};
|
||||
},
|
||||
onUnload() {
|
||||
if (this.videoitem.itemDirectoryCode) {
|
||||
if (this.videoerroshow) {
|
||||
if (this.videoitem.watchTime) {
|
||||
this.videoitem.watchTime = this.formatSeconds(this.videoitem.watchTime)
|
||||
}
|
||||
insertTrainingItemWatchRecord(this.videoitem).then(res => {})
|
||||
}
|
||||
}
|
||||
},
|
||||
// onHide() {
|
||||
// var that = this
|
||||
|
||||
Loading…
Reference in New Issue
Block a user