commit
70cbb68ccd
@ -7,15 +7,15 @@ export const basicRoutes = [
|
|||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
redirect: '/workbench', // 默认跳转到首页
|
redirect: '/workbench', // 默认跳转到首页
|
||||||
|
meta: { order: 0 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: t('views.workbench.label_workbench'),
|
name: t('views.workbench.label_workbench'),
|
||||||
path: '/',
|
path: '/workbench',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
redirect: '/workbench', // 默认跳转到首页
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'workbench',
|
path: '',
|
||||||
component: () => import('@/views/workbench/index.vue'),
|
component: () => import('@/views/workbench/index.vue'),
|
||||||
name: t('views.workbench.label_workbench'),
|
name: t('views.workbench.label_workbench'),
|
||||||
meta: {
|
meta: {
|
||||||
@ -25,16 +25,16 @@ export const basicRoutes = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
meta: { order: 0 },
|
meta: { order: 1 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: t('views.profile.label_profile'),
|
name: t('views.profile.label_profile'),
|
||||||
path: '/',
|
path: '/profile',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
isHidden: true,
|
isHidden: true,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'profile',
|
path: '',
|
||||||
component: () => import('@/views/profile/index.vue'),
|
component: () => import('@/views/profile/index.vue'),
|
||||||
name: t('views.profile.label_profile'),
|
name: t('views.profile.label_profile'),
|
||||||
meta: {
|
meta: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user