修改系统bug

This commit is contained in:
2025-01-06 10:44:23 +08:00
parent 0a9bd0c6de
commit 30c45e6f74
5 changed files with 20 additions and 9 deletions

View File

@@ -44,11 +44,7 @@ export function updateRole(data) {
}
// 角色状态修改
export function changeRoleStatus(id, status) {
const data = {
id,
status
}
export function changeRoleStatus(data) {
return request({
url: '/system/role/update-status',
method: 'put',