diff --git a/AGENTS.md b/AGENTS.md index ef0348b..1b665a9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -34,6 +34,10 @@ src/ layouts/ RootLayout.tsx # 根布局(Header + Sider + Content) SystemLayout.tsx # 系统配置布局(,作为 /system 父路由容器) + components/ + AuthGuard.tsx # 路由守卫(未登录跳转登录页) + hooks/ + useAppInit.ts # 应用初始化 hook(刷新页面时重新获取用户信息) api/ auth.ts # 登录接口 system/