From 2da73f9acdba8ed72d83a79641ad2cbd7c09d2ed Mon Sep 17 00:00:00 2001 From: admin <572701190@qq.com> Date: Sun, 3 May 2026 18:31:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D3000=E7=99=BD=E5=B1=8F?= =?UTF-8?q?=E7=9A=84Logo=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将侧边栏 logo_square.png 从 Vite 模块 import 改为 /logo_square.png 静态路径,避免浏览器把图片按 JS module 加载。 - 验证 3000 页面可挂载登录页 DOM,Sidebar 测试、类型检查、生产构建和 diff 检查通过。 --- src/components/Sidebar.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 338d392..f44905f 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -5,7 +5,6 @@ import type { ActiveModule } from '../App'; import { ModelStatusBadge } from './ModelStatusBadge'; import { useStore } from '../store/useStore'; import { AiSegmentationIcon } from './AiSegmentationIcon'; -import logoSquareUrl from '../../logo_square.png'; interface SidebarProps { activeModule: ActiveModule; @@ -27,7 +26,7 @@ export function Sidebar({ activeModule, setActiveModule }: SidebarProps) { return (