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

bug fixes

上级 f9bcb582
...@@ -104,9 +104,9 @@ export default { ...@@ -104,9 +104,9 @@ export default {
// 章节列表 // 章节列表
chapters() { chapters() {
const chapters = this.detail.chapters || [] const chapters = this.detail.chapters || []
if (!chapters.length) { // if (!chapters.length) {
return [] // return []
} // }
const customeChapter = { const customeChapter = {
name: this.$t('viewerMain.workData'), name: this.$t('viewerMain.workData'),
children: [ children: [
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论