From 681750baf4c761ab1f6bf73565ef49552a7030fb Mon Sep 17 00:00:00 2001 From: hz <3451701311@qq.com> Date: Wed, 15 Oct 2025 17:52:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20studyItemId=20=E9=AA=8C?= =?UTF-8?q?=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/study/courseStudy.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/study/courseStudy.vue b/pages/study/courseStudy.vue index 2199b28..4ee54da 100644 --- a/pages/study/courseStudy.vue +++ b/pages/study/courseStudy.vue @@ -1728,7 +1728,7 @@ export default { } }, onPlayerPlaying(e) { - if (!this.curContent.studyItemId || (e.detail.currentTime > 2 && this.trueFalse && this.curContent.status < 9)) { + if (e.detail.currentTime > 2 && this.trueFalse && this.curContent.status < 9) { let params = { studyId: this.studyId,//学习id, courseId: this.courseId,//课程id, @@ -1940,7 +1940,7 @@ export default { }, studyContent(params) { // 增加最大调用次数限制 - this.countRequest = Number(this.countRequest) + 1 + this.countRequest = Number(this.countRequest || 0) + 1 if (this.countRequest<3 ){ apiCourseStudy.studyContent(params).then(res => {