feat: 增加章节阅读功能
This commit is contained in:
@@ -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: '导入',
|
||||
|
||||
Reference in New Issue
Block a user