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