From b5229f3dc58d234c9bcd015ca66d95537b2d9cdf Mon Sep 17 00:00:00 2001 From: shy3130 <415333856@qq.com> Date: Thu, 20 Aug 2026 15:32:56 +0800 Subject: [PATCH] =?UTF-8?q?style(layout):=20=E6=95=B0=E6=8D=AE=E6=BA=90?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=8D=A1=E5=9B=BE=E6=A0=87=20Key=20=E2=86=92?= =?UTF-8?q?=20Database?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 侧栏「TickFlow Expert」数据源徽标左侧的钥匙图标改为数据库图标, 与「数据源」语义一致(点击跳转数据源设置)。Key 导入随之移除。 验证: tsc 通过; 浏览器实测渲染为 lucide-database。 --- frontend/src/components/Layout.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index 8d36921..d0acf8b 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -28,7 +28,6 @@ import { Pickaxe, FileText, Settings, - Key, Database, Loader2, LayoutDashboard, @@ -229,7 +228,7 @@ function TierBadge({ label, hasKey, providerName, isTickflow }: { label: string; className="pointer-events-none absolute inset-y-1.5 left-0 w-[2px] rounded-full bg-accent/50 transition-colors group-hover:bg-accent" style={base === 'expert' ? { background: 'linear-gradient(180deg, #60a5fa, #c084fc, #fbbf24)' } : undefined} /> - + {providerName || '数据源'}