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