Merge branch 'master' of codeup.aliyun.com:6265f483e4166464dc2f9c14/boeu/mobile

This commit is contained in:
dongruihua
2023-02-07 17:21:05 +08:00

View File

@@ -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('\{')){