From 12f25cf3a2c66611019484bd20ab63d3e342decb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9C=BC=E5=9C=88=E5=8F=91=E9=BB=91?= <49627376+yanquanfahei@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:07:16 +0800 Subject: [PATCH 1/2] style: typo (#4948) --- apps/web-ele/src/adapter/component/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web-ele/src/adapter/component/index.ts b/apps/web-ele/src/adapter/component/index.ts index 468c57f2..ebf9dd3e 100644 --- a/apps/web-ele/src/adapter/component/index.ts +++ b/apps/web-ele/src/adapter/component/index.ts @@ -65,7 +65,7 @@ async function initComponentAdapter() { Checkbox: ElCheckbox, CheckboxGroup: ElCheckboxGroup, // 自定义默认按钮 - DefaulButton: (props, { attrs, slots }) => { + DefaultButton: (props, { attrs, slots }) => { return h(ElButton, { ...props, attrs, type: 'info' }, slots); }, // 自定义主要按钮 From f85badf482d41e81028be76d792da6cc26425ec6 Mon Sep 17 00:00:00 2001 From: huangxiaomin Date: Mon, 25 Nov 2024 15:07:52 +0800 Subject: [PATCH 2/2] 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',