课程迁移调整

This commit is contained in:
fan 2021-01-08 11:26:43 +08:00
parent 4d3991f3e9
commit 6b7acc7f97

View File

@ -403,8 +403,8 @@ export default {
this.chapterModel.name = '';
this.chapterModel.remarks = '';
this.chapterModel.trainingId = '';
this.chapterModel.parentName = data.name;
this.chapterModel.parentId = data.id;
this.chapterModel.parentName = data.type === 'Lesson' ? '' : data.name;
this.chapterModel.parentId = data.type === 'Lesson' ? '' : data.id;
} else {
this.chapterModel = data;
this.chapterModel.lessonName = this.lessonName;
@ -500,6 +500,7 @@ export default {
height: calc(100% - 57px);
display: flex;
align-items: flex-start;
padding-bottom: 20px;
}
}