更改资产类目删除传递字段,由id改为bid

This commit is contained in:
2026-03-18 14:50:08 +08:00
parent e5dcbab2d1
commit a63b01e6ec
2 changed files with 3 additions and 3 deletions

View File

@@ -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 },
});
}