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

This commit is contained in:
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

View File

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