From 0aebd610fe4731ec26d2c6b7a7f6ee02221133e5 Mon Sep 17 00:00:00 2001 From: CNWei Date: Thu, 5 Nov 2026 19:02:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(admin):=20=E6=B2=A1=E6=9C=89=E5=AD=97?= =?UTF-8?q?=E4=BD=93=E6=97=B6=E4=B8=8D=E6=B8=B2=E6=9F=93=E3=80=8C=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E4=BD=BF=E7=94=A8=E7=9A=84=E5=AD=97=E4=BD=93=E3=80=8D?= =?UTF-8?q?=E4=B8=8B=E6=8B=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stash-web/src/components/admin/AdminNext.tsx | 35 ++++++++++++-------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/stash-web/src/components/admin/AdminNext.tsx b/stash-web/src/components/admin/AdminNext.tsx index a284dba..a7e198b 100644 --- a/stash-web/src/components/admin/AdminNext.tsx +++ b/stash-web/src/components/admin/AdminNext.tsx @@ -2357,20 +2357,27 @@ function SystemPanel({ {font.source === 'custom' && ( <> - - ({ + value: item.key, + label: item.name === '' ? item.key : item.name, + }))} + value={activeKey} + onChange={(current) => update({ current })} + /> + + ) : ( + + 还没有字体,点下面的「添加字体」存一条,再回来选。 + + )} {font.items.map((item) => (