mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-08 02:16:46 +08:00
解决课程播放的一个bug
This commit is contained in:
@@ -711,10 +711,14 @@
|
||||
//this.curSection=this.sectionList[0];
|
||||
}else{
|
||||
let treelist=this.catalogTree;
|
||||
this.curSection=treelist[0].sec;
|
||||
this.curContent=treelist[0].children[0];
|
||||
// this.curContent=this.contentList[0];
|
||||
// this.curSection=this.sectionList[0];
|
||||
//console.log(treelist,'treelist')
|
||||
if(treelist.length>0){
|
||||
this.curSection=treelist[0].sec;
|
||||
this.curContent=treelist[0].children[0];
|
||||
}else{
|
||||
this.curContent=this.contentList[0];
|
||||
this.curSection=this.sectionList[0];
|
||||
}
|
||||
//要不要在这里处理?
|
||||
// if(this.curContent.contentType==10 || this.curContent.contentType==20){
|
||||
// if(this.contentList[0].content.startsWith('\{')){
|
||||
|
||||
Reference in New Issue
Block a user