From 21378527859c4a9d503e7580e4581623f8922612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=8B=A5?= Date: Mon, 9 Mar 2026 04:53:25 +0800 Subject: [PATCH] =?UTF-8?q?sync:=20soul-admin=20=E9=A1=B5=E9=9D=A2=20|=20?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0:=20=E5=89=8D=E7=AB=AF=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soul-admin/src/pages/content/ContentPage.tsx | 4 ++++ 1 file changed, 4 insertions(+) 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)