This commit is contained in:
Phoenix 2024-01-31 16:54:10 +08:00
parent 1c49b7a8bb
commit f424f33f7a

View File

@ -6,14 +6,24 @@ const routes = [
name: 'helloWorld',
redirect:'/home',
component: () => import('@/views/home/index.vue'),
children:[
},
{
path: '/home',
name: 'home',
component: () => import('@/views/home/index.vue'),
children: [
{
path: '/home',
name: 'home',
component: () => import('@/views/home/index.vue')
component: () => import('@/views/home/index.vue'),
},
{
path: '/home',
name: 'home',
component: () => import('@/views/home/index.vue'),
},
]
}
},
// 添加其他路由配置...
];