bugfix: 验证码输入状态
feat: 接收语言参数
This commit is contained in:
@@ -10,23 +10,25 @@ const router = createRouter({
|
||||
history: createWebHistory('/'),
|
||||
// history: createWebHistory(import.meta.env.VITE_APP_URL),
|
||||
routes: [
|
||||
// {
|
||||
// path: '/',
|
||||
// },
|
||||
{
|
||||
path: '/',
|
||||
name:'award',
|
||||
component:()=>import('@/views/AwardPage/container.vue'),
|
||||
children:[
|
||||
path: '/:lang?',
|
||||
component: () => import('@/views/AwardPage/container.vue'),
|
||||
children: [
|
||||
{
|
||||
path:'',
|
||||
name:'AwardIndex',
|
||||
component:()=>import('@/views/AwardPage/index.vue'),
|
||||
path: '',
|
||||
name: 'AwardIndex',
|
||||
component: () => import('@/views/AwardPage/index.vue')
|
||||
},
|
||||
{
|
||||
path:'contestants',
|
||||
component:()=>import('@/views/AwardPage/apply.vue')
|
||||
path: 'contestants',
|
||||
name: 'Contestants',
|
||||
component: () => import('@/views/AwardPage/contestants.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
path: '/:pathMatch(.*)',
|
||||
|
||||
Reference in New Issue
Block a user