sync: soul-admin 页面 | 原因: 前端页面修改
This commit is contained in:
@@ -495,8 +495,12 @@ export function ContentPage() {
|
||||
content,
|
||||
isFree: editingSection.isFree || editingSection.price === 0,
|
||||
isNew: editingSection.isNew,
|
||||
hotScore: editingSection.hotScore,
|
||||
saveToFile: true,
|
||||
})
|
||||
if (editingSection.isPinned !== pinnedSectionIds.includes(editingSection.id)) {
|
||||
await handleTogglePin(editingSection.id)
|
||||
}
|
||||
if (res && (res as { success?: boolean }).success !== false) {
|
||||
alert(`已保存章节: ${editingSection.title}`)
|
||||
setEditingSection(null)
|
||||
|
||||
Reference in New Issue
Block a user