mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
移除 studyItemId 验证
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user