refactor: use shadcn sidebar
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Outlet } from "react-router";
|
||||
|
||||
/**
|
||||
* 系统管理父布局:只负责挂载子路由。
|
||||
* 页面级 state 由子路由 (UserManagementRoute / ProjectManagementRoute) 持有,
|
||||
* 并在 user / workspace 切换时通过 key 重挂载重置。
|
||||
*/
|
||||
export default function SystemAdminRoute() {
|
||||
return <Outlet />;
|
||||
}
|
||||
Reference in New Issue
Block a user