mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
进度
This commit is contained in:
@@ -1229,7 +1229,7 @@
|
||||
},
|
||||
audioPlay() {
|
||||
//console.log("开始播放");
|
||||
if(this.contentData.contentType == 20){
|
||||
if(this.contentData.contentType == 20 && this.contentData.status < 2){
|
||||
this.contentData.status = 2;
|
||||
}
|
||||
let $this = this;
|
||||
@@ -1463,8 +1463,9 @@
|
||||
progress(val) {
|
||||
const progressValue = parseFloat(val) * 100;
|
||||
this.sendEventProgress = Number(progressValue.toFixed(2));
|
||||
console.log('进度')
|
||||
if(this.contentData.contentType == 10){
|
||||
if(this.sendEventProgress>0&&this.sendEventProgress<3){
|
||||
if(this.sendEventProgress>0&&this.contentData.status<2){
|
||||
this.contentData.status = 2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user