✨ feat: 新增首页路由
This commit is contained in:
parent
99db358c66
commit
5f715675c3
|
@ -7,13 +7,14 @@ const router = createRouter({
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
|
redirect: '/home',
|
||||||
name: 'home',
|
name: 'home',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '/ad',
|
path: '/home',
|
||||||
name: 'ad',
|
name: '首页',
|
||||||
component: () => import('@/papes/ShiYan.vue')
|
component: HomeView,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user