mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
视频循环调用接口进行限制
This commit is contained in:
@@ -369,6 +369,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tentative: false,
|
||||
isContentTypeTwo: null,
|
||||
isContentType: null,
|
||||
activeId: '',
|
||||
@@ -658,7 +659,7 @@
|
||||
},
|
||||
//替换播放区域
|
||||
changePlayRes(r,item){
|
||||
|
||||
this.tentative = false;
|
||||
if(this.appendStudyOtherHandle!=null){
|
||||
window.clearTimeout(this.appendStudyOtherHandle);
|
||||
}
|
||||
@@ -1454,6 +1455,7 @@
|
||||
});
|
||||
},
|
||||
saveStudyInfo() {
|
||||
this.tentative = true
|
||||
if(this.isContentType){
|
||||
if(this.isContentType != this.contentData.contentType){
|
||||
//定时器产生的,不记录
|
||||
@@ -1647,7 +1649,7 @@
|
||||
finishStudyItem() { //设置完成学习的内容,针对于音视频的内容
|
||||
if (!this.contentData.studyItemId) {
|
||||
//这种可能没有,不过这里也是为了万中那个1
|
||||
this.saveStudyInfo();
|
||||
!this.tentative && this.saveStudyInfo();
|
||||
} else {
|
||||
let params = {
|
||||
itemId: this.contentData.studyItemId,
|
||||
|
||||
Reference in New Issue
Block a user