From 9d42b3c1a9c78d4e95d0fcf9602396ae94052301 Mon Sep 17 00:00:00 2001 From: imeepos Date: Thu, 21 Aug 2025 12:01:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85?= =?UTF-8?q?=E5=90=8ELogo=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 使用import语句正确引用静态资源 - 修复Vite构建时的资源路径问题 - 确保Logo在生产环境中正确显示 --- apps/desktop/src/components/Navigation.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src/components/Navigation.tsx b/apps/desktop/src/components/Navigation.tsx index 3a83a85..9c2e720 100644 --- a/apps/desktop/src/components/Navigation.tsx +++ b/apps/desktop/src/components/Navigation.tsx @@ -14,6 +14,7 @@ import { RectangleStackIcon, ChartBarIcon, } from '@heroicons/react/24/outline'; +import logoImage from '../assets/logo.png'; // 导航项类型定义 interface NavItem { @@ -152,7 +153,7 @@ const Navigation: React.FC = () => {
Aone Design Logo