|
|
@@ -74,54 +74,54 @@ export const constantRoutes = [
|
|
|
{
|
|
|
path: '/',
|
|
|
component: Layout,
|
|
|
- redirect: '/dashboard',
|
|
|
+ redirect: '/dashboard/index',
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'dashboard',
|
|
|
+ path: 'dashboard/index',
|
|
|
component: () => import('@/views/dashboard/index'),
|
|
|
name: 'Dashboard',
|
|
|
meta: { title: 'dashboard', icon: 'dashboard', affix: true }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: '/dashboard/index',
|
|
|
- component: Layout,
|
|
|
- redirect: '/dashboard',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'dashboard',
|
|
|
- component: () => import('@/views/dashboard/index'),
|
|
|
- name: 'Dashboard',
|
|
|
- meta: { title: 'dashboard', icon: 'dashboard', affix: true }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/documentation',
|
|
|
- component: Layout,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: () => import('@/views/documentation/index'),
|
|
|
- name: 'Documentation',
|
|
|
- meta: { title: 'documentation', icon: 'documentation', affix: true }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/guide',
|
|
|
- component: Layout,
|
|
|
- redirect: '/guide/index',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: () => import('@/views/guide/index'),
|
|
|
- name: 'Guide',
|
|
|
- meta: { title: 'guide', icon: 'guide', noCache: true }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: '/dashboard/index',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/dashboard',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'dashboard',
|
|
|
+ // component: () => import('@/views/dashboard/index'),
|
|
|
+ // name: 'Dashboard',
|
|
|
+ // meta: { title: 'dashboard', icon: 'dashboard', affix: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/documentation',
|
|
|
+ // component: Layout,
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: () => import('@/views/documentation/index'),
|
|
|
+ // name: 'Documentation',
|
|
|
+ // meta: { title: 'documentation', icon: 'documentation', affix: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/guide',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/guide/index',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: () => import('@/views/guide/index'),
|
|
|
+ // name: 'Guide',
|
|
|
+ // meta: { title: 'guide', icon: 'guide', noCache: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{
|
|
|
path: '/profile',
|
|
|
component: Layout,
|