From b1631b9a868e7785fbf26cf0172b6dfb383ddd91 Mon Sep 17 00:00:00 2001 From: xie2can <384968446@qq.com> Date: Fri, 15 May 2026 19:46:59 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20AGENTS.md=20?= =?UTF-8?q?=E8=A1=A5=E5=85=85=20hooks=20=E5=92=8C=20components=20=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) 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/