docs: 更新 AGENTS.md 补充 hooks 和 components 目录
This commit is contained in:
@@ -34,6 +34,10 @@ src/
|
|||||||
layouts/
|
layouts/
|
||||||
RootLayout.tsx # 根布局(Header + Sider + Content)
|
RootLayout.tsx # 根布局(Header + Sider + Content)
|
||||||
SystemLayout.tsx # 系统配置布局(<Outlet />,作为 /system 父路由容器)
|
SystemLayout.tsx # 系统配置布局(<Outlet />,作为 /system 父路由容器)
|
||||||
|
components/
|
||||||
|
AuthGuard.tsx # 路由守卫(未登录跳转登录页)
|
||||||
|
hooks/
|
||||||
|
useAppInit.ts # 应用初始化 hook(刷新页面时重新获取用户信息)
|
||||||
api/
|
api/
|
||||||
auth.ts # 登录接口
|
auth.ts # 登录接口
|
||||||
system/
|
system/
|
||||||
|
|||||||
Reference in New Issue
Block a user