feat 新增批量级联删除菜单接口

This commit is contained in:
xlsea
2025-05-23 14:03:03 +08:00
parent 70f7c06e55
commit 385bbb77a9
2 changed files with 69 additions and 1 deletions

View File

@ -68,3 +68,11 @@ export const delMenu = (menuId: string | number) => {
method: 'delete'
});
};
// 级联删除菜单
export const cascadeDelMenu = (menuIds: Array<string | number>) => {
return request({
url: '/system/menu/cascade/' + menuIds,
method: 'delete'
});
};