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 dap
parent ff1c6a9de9
commit a478721f07

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',