添加自动创建菜单及权限脚本

This commit is contained in:
xie7654
2025-07-02 12:35:58 +08:00
parent a0472ac78a
commit 6cd05925ff
6 changed files with 224 additions and 15 deletions

View File

@@ -395,7 +395,7 @@ const schema: VbenFormSchema[] = [
},
triggerFields: ['type'],
},
fieldName: 'meta.hideInMenu',
fieldName: 'meta.hide_in_menu',
renderComponentContent() {
return {
default: () => $t('system.menu.hideInMenu'),
@@ -410,7 +410,7 @@ const schema: VbenFormSchema[] = [
},
triggerFields: ['type'],
},
fieldName: 'meta.hideChildrenInMenu',
fieldName: 'meta.hide_children_in_menu',
renderComponentContent() {
return {
default: () => $t('system.menu.hideChildrenInMenu'),