1
0

feat: 增加章节阅读功能

This commit is contained in:
2024-12-22 10:38:31 +08:00
parent 0c979985ed
commit 9fd28264dd
2 changed files with 38 additions and 0 deletions

View File

@@ -150,6 +150,26 @@
label: '编辑',
...chapterDetailDialog(),
},
{
type: 'action',
label: '阅读',
actionType: 'dialog',
dialog: {
title: '阅读',
size: 'lg',
actions: [],
body: {
type: 'service',
className: 'p-10',
api: '${base}/chapter/show/${chapterId}',
silentPolling: true,
body: {
type: 'tpl',
tpl: '${item|raw}'
}
}
}
},
{
type: 'action',
label: '导入',