Tang 2 年 前
コミット
58ea75b207
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/components/videoCy/index.vue

+ 2 - 2
src/components/videoCy/index.vue

@@ -109,8 +109,8 @@ export default {
           sectionId: this.activeSection.sectionId
         };
         this.$request.recordLast(data).then(res => {
-          if (res.data && res.data.videoCurrentTime) {
-            this.activeSection.videoCurrentTime = res.data.videoCurrentTime;
+          if (res.data && res.data.videoCurrentTime && res.data.videoCurrentTime - 3 >= 0) {
+            this.activeSection.videoCurrentTime = res.data.videoCurrentTime - 3;
           }
           resolve();
         });