feat: award页面迁移
This commit is contained in:
@@ -12,13 +12,21 @@ const router = createRouter({
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
redirect: '/index'
|
||||
},
|
||||
{
|
||||
path: '/index',
|
||||
name: 'index',
|
||||
component: () => import('../views/home/index.vue')
|
||||
name:'award',
|
||||
component:()=>import('@/views/AwardPage/container.vue'),
|
||||
children:[
|
||||
{
|
||||
path:'',
|
||||
name:'AwardIndex',
|
||||
component:()=>import('@/views/AwardPage/index.vue'),
|
||||
},
|
||||
{
|
||||
path:'contestants',
|
||||
component:()=>import('@/views/AwardPage/apply.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
path: '/:pathMatch(.*)',
|
||||
|
||||
Reference in New Issue
Block a user