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} ))} + {/* 整页跳转回用户端官网首页(生产同源) */} + + + 返回主页 +