feat: 新增个人中心页面

This commit is contained in:
valarchie
2023-07-25 19:49:16 +08:00
parent fb14f5d075
commit 167d4122b7
32 changed files with 1093 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
export default {
path: "/global",
redirect: "/global/user/profile",
meta: {
icon: "checkboxCircleLine",
title: "首页",
rank: 0,
showLink: false
},
children: [
{
path: "/global/user/profile",
name: "Success",
component: () => import("@/views/system/user/profile/index.vue"),
meta: {
title: "个人中心"
}
}
]
} as RouteConfigsTable;

View File

@@ -26,5 +26,21 @@ export default [
component: () => import("@/layout/redirect.vue")
}
]
},
{
path: "/system/user/profile",
component: Layout,
meta: {
title: "个人中心",
showLink: false,
rank: 102
},
children: [
{
path: "/",
name: "Redirect",
component: () => import("@/views/system/user/profile/index.vue")
}
]
}
] as Array<RouteConfigsTable>;