Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin
This commit is contained in:
commit
41b69b5f93
@ -65,7 +65,7 @@ async function initComponentAdapter() {
|
|||||||
Checkbox: ElCheckbox,
|
Checkbox: ElCheckbox,
|
||||||
CheckboxGroup: ElCheckboxGroup,
|
CheckboxGroup: ElCheckboxGroup,
|
||||||
// 自定义默认按钮
|
// 自定义默认按钮
|
||||||
DefaulButton: (props, { attrs, slots }) => {
|
DefaultButton: (props, { attrs, slots }) => {
|
||||||
return h(ElButton, { ...props, attrs, type: 'info' }, slots);
|
return h(ElButton, { ...props, attrs, type: 'info' }, slots);
|
||||||
},
|
},
|
||||||
// 自定义主要按钮
|
// 自定义主要按钮
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user