Tang 2 tahun lalu
induk
melakukan
58ea75b207
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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();
         });