This commit is contained in:
mizhexiaoxiao
2024-05-29 15:43:27 +08:00
parent 4e735b2d72
commit c3edb3dfa5
4 changed files with 14 additions and 12 deletions
+11
View File
@@ -134,5 +134,16 @@ async def init_menus():
component="/system/api",
keepalive=True,
),
Menu(
menu_type=MenuType.MENU,
name="部门管理",
path="dept",
order=5,
parent_id=parent_menu.id,
icon="mingcute:department-line",
is_hidden=False,
component="/system/dept",
keepalive=True,
),
]
await Menu.bulk_create(children_menu)