Tang 2 years ago
parent
commit
58ea75b207
1 changed files with 2 additions and 2 deletions
  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();
         });