diff --git a/soul-admin/src/pages/content/ContentPage.tsx b/soul-admin/src/pages/content/ContentPage.tsx index 0feafa29..6121dab7 100644 --- a/soul-admin/src/pages/content/ContentPage.tsx +++ b/soul-admin/src/pages/content/ContentPage.tsx @@ -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)