|
@@ -539,6 +539,11 @@ export default {
|
|
|
submitStudyRecords() {
|
|
|
let time = new Date().getTime();
|
|
|
if (time >= this.commitTime) {
|
|
|
+ if(!this.commitTime){
|
|
|
+ //防止发生获取不到视频播放时长
|
|
|
+ this.commitTime = time + 3000;
|
|
|
+ return
|
|
|
+ }
|
|
|
this.postStudyRecord(0, null, null);
|
|
|
this.commitTime = time + 15000;
|
|
|
}
|