From 0be7bdde0964105f9205d8dd5481f6324bf0af4a Mon Sep 17 00:00:00 2001 From: xianyi Date: Wed, 3 Dec 2025 10:59:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B6=E9=83=A8=E9=AB=98?= =?UTF-8?q?=E5=BA=A6=E5=AF=BC=E8=87=B4=E5=86=85=E5=AE=B9=E5=8C=BA=E9=AB=98?= =?UTF-8?q?=E5=BA=A6=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/TopBar.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/layout/TopBar.tsx b/src/components/layout/TopBar.tsx index 8c5fe43..2a7bcc3 100644 --- a/src/components/layout/TopBar.tsx +++ b/src/components/layout/TopBar.tsx @@ -9,18 +9,19 @@ interface TopBarProps { } export const TopBar = ({ search, onSearch, enableSearch = true, operatorName, onLoginClick }: TopBarProps) => ( -
+
{enableSearch ? ( -
+
onSearch(e.target.value)} + className='text-sm' />
) : ( -
圆和医疗 · 体检驾驶舱
+
圆和医疗 · 体检驾驶舱
)}