Merge pull request #37 from mizhexiaoxiao/dev

Update
This commit is contained in:
mizhexiaoxiao 2024-06-19 23:28:47 +08:00 committed by GitHub
commit 70cbb68ccd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: {