fix: 🐛 部门删除bug
This commit is contained in:
@@ -32,11 +32,11 @@ export function UpdateObj(obj: EditReq) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function DelObj(id: DelReq) {
|
export function DelObj(obj: DelReq) {
|
||||||
return request({
|
return request({
|
||||||
url: apiPrefix + id + '/',
|
url: apiPrefix + obj.id + '/',
|
||||||
method: 'delete',
|
method: 'delete',
|
||||||
data: { id },
|
data: obj,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user