This commit is contained in:
mizhexiaoxiao 2024-06-19 23:28:08 +08:00
parent 522cb65970
commit 5f45eb7d0c

View File

@ -7,15 +7,15 @@ export const basicRoutes = [
{
path: '/',
redirect: '/workbench', // 默认跳转到首页
meta: { order: 0 },
},
{
name: t('views.workbench.label_workbench'),
path: '/',
path: '/workbench',
component: Layout,
redirect: '/workbench', // 默认跳转到首页
children: [
{
path: 'workbench',
path: '',
component: () => import('@/views/workbench/index.vue'),
name: t('views.workbench.label_workbench'),
meta: {
@ -25,16 +25,16 @@ export const basicRoutes = [
},
},
],
meta: { order: 0 },
meta: { order: 1 },
},
{
name: t('views.profile.label_profile'),
path: '/',
path: '/profile',
component: Layout,
isHidden: true,
children: [
{
path: 'profile',
path: '',
component: () => import('@/views/profile/index.vue'),
name: t('views.profile.label_profile'),
meta: {