From 166fdfd6f89b5ab6369c0193f95c450821f05343 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Wed, 16 Apr 2025 22:05:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=B3=BB=E7=BB=9F=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=E6=94=B9=E4=B8=BA=E5=BE=AA=E7=8E=AF=E8=8E=B7=E5=8F=96?= =?UTF-8?q?1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/system/Setting.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/system/Setting.tsx b/src/pages/system/Setting.tsx index b3d29fe..8399b61 100644 --- a/src/pages/system/Setting.tsx +++ b/src/pages/system/Setting.tsx @@ -273,10 +273,10 @@ export default function Setting(){ } }; - const saveSet = (item:systemItem) => { + const saveSet = (item:systemItem, value:string) => { const params = { id:item.id, - value:item.value + value } sysSet(params, "PUT").then(res=>{ }) @@ -300,7 +300,7 @@ export default function Setting(){ > {item.code === 'ORG' ? - : saveSet(item)}/>} + : saveSet(item, e.target.value)}/>} }) }