chore: update demo

This commit is contained in:
vben
2024-06-16 23:25:28 +08:00
parent 0023964eb7
commit 6c092e284c
9 changed files with 35 additions and 47 deletions

View File

@@ -29,12 +29,24 @@ const routes: RouteRecordRaw[] = [
{
name: 'Menu2',
path: 'menu2',
component: () => import('@/views/nested/menu-2.vue'),
meta: {
icon: 'ic:round-menu',
keepAlive: true,
title: $t('page.nested.menu2'),
},
redirect: '/nested/menu2/menu2-1',
children: [
{
name: 'Menu21',
path: 'menu2-1',
component: () => import('@/views/nested/menu-2-1.vue'),
meta: {
icon: 'ic:round-menu',
keepAlive: true,
title: $t('page.nested.menu21'),
},
},
],
},
{
name: 'Menu3',