sync: soul-admin 页面 | 原因: 前端页面修改

This commit is contained in:
卡若
2026-03-09 04:53:25 +08:00
parent 9d14127fa8
commit 2137852785

View File

@@ -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)