feat: 完成角色编辑功能

This commit is contained in:
siujamo
2025-12-26 17:53:09 +08:00
parent 3b0bd56001
commit b0ccd8f832
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -29,3 +29,7 @@ export async function fetchRoles(
export async function addRole(request: RoleFormValues) {
return await webClient.post("/roles", request)
}
export async function editRole(request: RoleFormValues) {
return await webClient.put("/roles", request)
}