refactor: use shadcn sidebar

This commit is contained in:
tao.chen
2026-09-02 10:10:41 +08:00
committed by tao.chen
parent fd724a1b45
commit 1c220490cf
10 changed files with 245 additions and 205 deletions
+10
View File
@@ -0,0 +1,10 @@
import { Outlet } from "react-router";
/**
* 系统管理父布局:只负责挂载子路由。
* 页面级 state 由子路由 (UserManagementRoute / ProjectManagementRoute) 持有,
* 并在 user / workspace 切换时通过 key 重挂载重置。
*/
export default function SystemAdminRoute() {
return <Outlet />;
}