feat: 重新排列路由配置,确保检查、推荐和新闻页面正确显示
This commit is contained in:
@@ -73,15 +73,6 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
i18nKey: 'route.home'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'check',
|
||||
path: '/check',
|
||||
component: 'layout.base$view.check',
|
||||
meta: {
|
||||
title: 'check',
|
||||
i18nKey: 'route.check'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'kyc',
|
||||
path: '/kyc',
|
||||
@@ -91,15 +82,6 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
i18nKey: 'route.kyc'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'news',
|
||||
path: '/news',
|
||||
component: 'layout.base$view.news',
|
||||
meta: {
|
||||
title: 'news',
|
||||
i18nKey: 'route.news'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'product',
|
||||
path: '/product',
|
||||
@@ -109,15 +91,6 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
i18nKey: 'route.product'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'referral',
|
||||
path: '/referral',
|
||||
component: 'layout.base$view.referral',
|
||||
meta: {
|
||||
title: 'referral',
|
||||
i18nKey: 'route.referral'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'user',
|
||||
path: '/user',
|
||||
@@ -127,6 +100,15 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
i18nKey: 'route.user'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'check',
|
||||
path: '/check',
|
||||
component: 'layout.base$view.check',
|
||||
meta: {
|
||||
title: 'check',
|
||||
i18nKey: 'route.check'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'wallet',
|
||||
path: '/wallet',
|
||||
@@ -144,5 +126,23 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
title: 'withdraw',
|
||||
i18nKey: 'route.withdraw'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'referral',
|
||||
path: '/referral',
|
||||
component: 'layout.base$view.referral',
|
||||
meta: {
|
||||
title: 'referral',
|
||||
i18nKey: 'route.referral'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'news',
|
||||
path: '/news',
|
||||
component: 'layout.base$view.news',
|
||||
meta: {
|
||||
title: 'news',
|
||||
i18nKey: 'route.news'
|
||||
}
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user