| | |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/login', |
| | | component: () => import('@/views/login'), |
| | | hidden: true |
| | | }, |
| | | // { |
| | | // path: '/login', |
| | | // component: () => import('@/views/login'), |
| | | // hidden: true |
| | | // }, |
| | | { |
| | | path: '/sf', |
| | | component: () => import('@/views/outsideChainnew'), |
| | |
| | | component: () => import('@/views/outsideChainxj'), |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: '/previews', |
| | | component: () => import('@/views/previews'), |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: '/register', |
| | | component: () => import('@/views/register'), |
| | | hidden: true |
| | | }, |
| | | // { |
| | | // path: '/previews', |
| | | // component: () => import('@/views/previews'), |
| | | // hidden: true |
| | | // }, |
| | | // { |
| | | // path: '/register', |
| | | // component: () => import('@/views/register'), |
| | | // hidden: true |
| | | // }, |
| | | { |
| | | path: '/404', |
| | | component: () => import('@/views/error/404'), |
| | |
| | | // } |
| | | // ] |
| | | // }, |
| | | { |
| | | path: '/user', |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: 'noredirect', |
| | | children: [ |
| | | { |
| | | path: 'profile', |
| | | component: () => import('@/views/system/user/profile/index'), |
| | | name: 'Profile', |
| | | meta: { title: '个人中心', icon: 'user' } |
| | | } |
| | | ] |
| | | } |
| | | // { |
| | | // path: '/user', |
| | | // component: Layout, |
| | | // hidden: true, |
| | | // redirect: 'noredirect', |
| | | // children: [ |
| | | // { |
| | | // path: 'profile', |
| | | // component: () => import('@/views/system/user/profile/index'), |
| | | // name: 'Profile', |
| | | // meta: { title: '个人中心', icon: 'user' } |
| | | // } |
| | | // ] |
| | | // } |
| | | ] |
| | | |
| | | // 动态路由,基于用户权限动态去加载 |