From efb805fd2d4165cf91574a8faefac080079aae9c Mon Sep 17 00:00:00 2001 From: Blizzard Date: Fri, 17 Jul 2026 17:09:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(admin):=20=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E5=8A=A0=E3=80=8C=E8=BF=94=E5=9B=9E=E4=B8=BB=E9=A1=B5=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 整页跳转回用户端官网首页(生产同源,a href="/") Co-Authored-By: Claude Opus 4.8 --- admin/src/components/admin-sidebar.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/admin/src/components/admin-sidebar.tsx b/admin/src/components/admin-sidebar.tsx index 1762740..8de4dec 100644 --- a/admin/src/components/admin-sidebar.tsx +++ b/admin/src/components/admin-sidebar.tsx @@ -2,6 +2,7 @@ import { Link, NavLink, useNavigate } from 'react-router-dom' import { BarChart3, FileText, + Home, LayoutDashboard, LogOut, Moon, @@ -86,6 +87,15 @@ export function AdminSidebar({ open, onClose }: Props) { {item.label} ))} + {/* 整页跳转回用户端官网首页(生产同源) */} + + + 返回主页 +