更改资产类目删除传递字段,由id改为bid
This commit is contained in:
@@ -56,11 +56,11 @@ export function updateCategory(data: object) {
|
||||
}
|
||||
|
||||
// 删除分类
|
||||
export function deleteCategory(id: number) {
|
||||
export function deleteCategory(bid: string) {
|
||||
return newService({
|
||||
url: '/assets/category/deleteCategory',
|
||||
method: 'delete',
|
||||
params: { id },
|
||||
params: { bid },
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user