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