diff --git a/src/views/teach/draftDetail.vue b/src/views/teach/draftDetail.vue index cf8fbbfa8..e33ea4e77 100644 --- a/src/views/teach/draftDetail.vue +++ b/src/views/teach/draftDetail.vue @@ -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; } }