refactor: use shadcn sidebar

This commit is contained in:
tao.chen
2026-08-25 20:20:14 +08:00
parent 9294c7fd9f
commit e186e5e541
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 />;
}