From b36afd724482dc5ba004cf7e42598af54a557fe9 Mon Sep 17 00:00:00 2001 From: daihh Date: Thu, 13 Oct 2022 11:17:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=AAthis?= =?UTF-8?q?=E6=8C=87=E5=90=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/study/coursenew.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index a712c802..b43d278f 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -402,6 +402,7 @@ } }); //每一分钟保存一次 + let $this=this; this.appendStudyOtherHandle = setTimeout(function() { $this.appendStudyOtherTime(); }, 1000*60); @@ -570,7 +571,8 @@ if(this.appendStudyOtherHandle!=null){ windows.clearTimeout(this.appendStudyOtherHandle); } - + + this.appendStudyOtherHandle = setTimeout(function() { $this.appendStudyOtherTime(); }, 1000*60*2); //非音视频课程学习,2分钟后记录,因为一次记录是60秒