feat: layout调整

This commit is contained in:
renxiaodong
2025-06-23 23:59:08 -04:00
parent 59dac3bb13
commit 74567f17c2
14 changed files with 167 additions and 52 deletions

View File

@ -24,8 +24,8 @@ const router = createRouter({
},
},
{
path: '/workplace',
name: 'workplace',
path: '/',
name: 'Home',
component: () => import('@/views/components/workplace'),
meta: {
hideSidebar: true,
@ -50,8 +50,7 @@ const router = createRouter({
},
{
path: '/',
name: 'Home',
redirect: '/dataEngine/hotTranslation',
name: '',
children: [...appRoutes, REDIRECT_MAIN, NOT_FOUND_ROUTE],
meta: {
requiresAuth: true,