From f85badf482d41e81028be76d792da6cc26425ec6 Mon Sep 17 00:00:00 2001 From: huangxiaomin Date: Mon, 25 Nov 2024 15:07:52 +0800 Subject: [PATCH] fix: the route path did not synchronize with the page (#4947) --- playground/src/router/routes/modules/demos.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/playground/src/router/routes/modules/demos.ts b/playground/src/router/routes/modules/demos.ts index 10ffd299..46ebeeb9 100644 --- a/playground/src/router/routes/modules/demos.ts +++ b/playground/src/router/routes/modules/demos.ts @@ -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',