diff --git a/src/components/study/courseDetail.vue b/src/components/study/courseDetail.vue
index 9b7d3d4..3e082b0 100644
--- a/src/components/study/courseDetail.vue
+++ b/src/components/study/courseDetail.vue
@@ -80,7 +80,7 @@
{{ xuhao[index]
- }}
+ }}
{{ item }}
@@ -97,7 +97,7 @@
{{ xuhao[index]
- }}
+ }}
{{ item }}
@@ -151,7 +151,7 @@
{{
current_question + 1
- }}/{{ questions.length }}
+ }}/{{ questions.length }}
@@ -426,11 +426,11 @@ export default {
}
function plays() {
+ document.getElementById("video").removeEventListener("play", plays, false);
+ document.getElementById("video").currentTime = _this.record;
+ _this.current_sign = _this.record;
+ Toast("从上次记录的地方开始播放");
setTimeout(function () {
- document.getElementById("video").removeEventListener("play", plays, false);
- document.getElementById("video").currentTime = _this.record;
- _this.current_sign = _this.record;
- Toast("从上次记录的地方开始播放");
_this.video_timer = setInterval(timer, 100);
}, 1000);
}