profile.js 389 B

1234567891011121314151617
  1. import Layout from '@/layout'
  2. const profileRouter = {
  3. path: '/profile',
  4. component: Layout,
  5. redirect: '/profile/index',
  6. hidden: true,
  7. children: [
  8. {
  9. path: 'index', // 用户中心
  10. component: () => import('@/views/profile/index'),
  11. name: 'Profile',
  12. meta: { title: 'Personal Info', icon: 'user', noCache: true }
  13. },
  14. ]
  15. }
  16. export default profileRouter