From 2065bbf1ac879e620fa4d6118da0dc1f144d69c1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 13 十一月 2026 13:11:18 +0800
Subject: [PATCH] fix(router): 补回「个人中心」Profile 路由,修复点击无反应
---
src/router/routes/core.ts | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/src/router/routes/core.ts b/src/router/routes/core.ts
index 7e14b88..4b38baa 100644
--- a/src/router/routes/core.ts
+++ b/src/router/routes/core.ts
@@ -36,7 +36,19 @@
name: 'Root',
path: '/',
redirect: preferences.app.defaultHomePath,
- children: [],
+ children: [
+ {
+ component: () => import('#/views/_core/profile/index.vue'),
+ meta: {
+ fullPathKey: false,
+ hideInMenu: true,
+ icon: 'lucide:user-round',
+ title: '涓汉涓績',
+ },
+ name: 'Profile',
+ path: 'profile',
+ },
+ ],
},
{
component: AuthPageLayout,
--
Gitblit v1.9.3