|
@@ -16,7 +16,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
|
|
|
};
|
|
|
const delRequest = async ({ row }: DelReq) => {
|
|
|
console.log("delform:::",row)
|
|
|
- return await api.DelObj(row.article);
|
|
|
+ return await api.DelObj(row.id);
|
|
|
};
|
|
|
const addRequest = async ({ form }: AddReq) => {
|
|
|
form.device_id=Number(form.device);
|