提交 d8c27163 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 c92b82ab
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
] ]
} }
// 课程大作业 // 课程大作业
if (this.detail.curriculum.curriculum_essay) { if (this.detail.curriculum && this.detail.curriculum.curriculum_essay) {
customeChapter.children.unshift({ name: this.$t('viewerMain.courseWork'), id: 'course_work', type: 99 }) customeChapter.children.unshift({ name: this.$t('viewerMain.courseWork'), id: 'course_work', type: 99 })
} }
// 课程考试 // 课程考试
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论