feat: 新增首页路由

This commit is contained in:
ycy 2024-04-22 17:15:25 +08:00
parent 99db358c66
commit 5f715675c3

View File

@ -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,
} }
] ]
} }