提交修改

This commit is contained in:
daihh
2022-12-12 17:30:12 +08:00
parent a964382894
commit e65d389653
2 changed files with 49 additions and 2 deletions

View File

@@ -499,8 +499,12 @@
this.sectionList=rs.result.sections;
//设置正在学习的章节
if(showConId==''){
this.curContent=this.contentList[0];
this.curSection=this.sectionList[0];
//取第一条为正在学习的
let treelist=this.catalogTree;
this.curSection=this.treelist[0].sec;
this.curContent=this.treelist[0].children[0];
// 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('\{')){