feat(HomePage): 已登录用户访问首页展示个人中心内容

- HomePage: 添加条件渲染,已登录时展示 Center 组件
- 重构 Center 目录结构,合并 Center.tsx 到 index.tsx
- 重命名 CenterDashboard 为 Center(lazy-components, homeRoutes)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-24 11:06:30 +08:00
parent 9156da410d
commit ac76db09a2
5 changed files with 19 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ export const homeRoutes = [
// 个人中心 - /home/center
{
path: 'center',
component: lazyComponents.CenterDashboard,
component: lazyComponents.Center,
protection: PROTECTION_MODES.MODAL,
meta: {
title: '个人中心',