fix: the route path did not synchronize with the page (#4947)

pull/53/MERGE
huangxiaomin 2024-11-25 15:07:52 +08:00 committed by GitHub
parent 12f25cf3a2
commit f85badf482
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 0 deletions

View File

@ -156,6 +156,18 @@ const routes: RouteRecordRaw[] = [
title: $t('demos.features.hideChildrenInMenu'),
},
children: [
{
name: 'HideChildrenInMenuDemo',
path: '',
component: () =>
import(
'#/views/demos/features/hide-menu-children/children.vue'
),
meta: {
hideInMenu: true,
title: $t('demos.features.hideChildrenInMenu'),
},
},
{
name: 'HideChildrenInMenuChildrenDemo',
path: '/demos/features/hide-menu-children/children',