ソースを参照

Merge branch 'dev' of http://120.79.166.78:19005/zhongzheng-edu/saas_pc into dev

xiexaing 1 年間 前
コミット
00f5bd2dd4
1 ファイル変更5 行追加0 行削除
  1. 5 0
      src/components/videoCy/index.vue

+ 5 - 0
src/components/videoCy/index.vue

@@ -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;
       }