From 20c6e0d7c2acf399025e72f37b7c06f2a22b92d6 Mon Sep 17 00:00:00 2001 From: Blizzard Date: Fri, 17 Jul 2026 17:13:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor(admin):=20=E8=BF=94=E5=9B=9E=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E7=A7=BB=E5=88=B0=E5=BA=95=E9=83=A8=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E4=B8=8E=E9=80=80=E5=87=BA=E4=B9=8B=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 从导航区移到底部按钮组,夹在主题切换与退出登录中间 - 仍为整页跳转回用户端官网首页 Co-Authored-By: Claude Opus 4.8 --- admin/src/components/admin-sidebar.tsx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/admin/src/components/admin-sidebar.tsx b/admin/src/components/admin-sidebar.tsx index 8de4dec..e925725 100644 --- a/admin/src/components/admin-sidebar.tsx +++ b/admin/src/components/admin-sidebar.tsx @@ -87,15 +87,6 @@ export function AdminSidebar({ open, onClose }: Props) { {item.label} ))} - {/* 整页跳转回用户端官网首页(生产同源) */} - - - 返回主页 -
@@ -111,6 +102,10 @@ export function AdminSidebar({ open, onClose }: Props) { )} {resolved === 'dark' ? '浅色模式' : '深色模式'} + {/* 整页跳转回用户端官网首页(生产同源) */} + + 返回主页 +