From dc49a25a8881278f7c3c965982e51c83302d29e6 Mon Sep 17 00:00:00 2001 From: Leo <98382335+gaoziman@users.noreply.github.com> Date: Sun, 6 Jul 2025 22:09:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(router):=20=E6=B7=BB=E5=8A=A0=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=B8=AD=E5=BF=83=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在静态路由中添加个人中心页面路由 - 配置路由权限要求和图标显示 - 确保个人中心页面可以正常访问 --- src/router/routes.static.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/router/routes.static.ts b/src/router/routes.static.ts index 54104d4..61b3746 100644 --- a/src/router/routes.static.ts +++ b/src/router/routes.static.ts @@ -10,4 +10,15 @@ export const staticRoutes: AppRoute.RowRoute[] = [ id: 3, pid: null, }, + { + name: 'personal-center', + path: '/personal-center', + title: '个人中心', + requiresAuth: true, + icon: 'icon-park-outline:user', + menuType: '2', + componentPath: '/personal-center/index', + id: 4, + pid: null, + }, ]