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();
         });