|
|
@@ -82,6 +82,20 @@ export const constantRoutes = [
|
|
|
meta: { title: 'Dashboard', icon: 'dashboard', affix: true }
|
|
|
}
|
|
|
]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/profile',
|
|
|
+ component: Layout,
|
|
|
+ redirect: '/profile/index',
|
|
|
+ hidden: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'index',
|
|
|
+ component: () => import('@/views/profile/index'),
|
|
|
+ name: 'Profile',
|
|
|
+ meta: { title: 'Profile', icon: 'user', noCache: true }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
]
|
|
|
|