From be97b1d51acc24d1510f70d67488ab09f93fa93b Mon Sep 17 00:00:00 2001 From: IndieKKY Date: Mon, 27 May 2024 09:02:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=95=8C=E9=9D=A2=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/biz/Settings.tsx | 48 ++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/src/biz/Settings.tsx b/src/biz/Settings.tsx index c007ef2..a22bfda 100644 --- a/src/biz/Settings.tsx +++ b/src/biz/Settings.tsx @@ -282,28 +282,6 @@ const Settings = () => { } -
- {PROMPT_TYPES.map((item, idx) => -
{item.name}
-
{ - setPromptsValue({ - ...promptsValue, - // @ts-expect-error - [item.type]: PROMPT_DEFAULTS[item.type] ?? '' - }) - }}>点击填充默认 -
- } htmlFor={`prompt-${item.type}`}> -