This commit is contained in:
zhoutc
2026-03-09 01:31:30 +08:00
parent 236e5f5594
commit 8575b5e0b1
3 changed files with 17 additions and 7 deletions

View File

@@ -158,9 +158,10 @@ export function validateRoleName(rule: any, value: any, callback: any, isEdit: b
});
}
export const listAllRole = () => {
export const listAllRole = (options?: { skipRoleHeader?: boolean }) => {
return request({
url: '/admin/role/listAllRole',
method: 'get',
...options,
});
};