feat: layout调整
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user