mirror of https://github.com/certd/certd
🔱: [client] sync upgrade with 2 commits [trident-sync]
perf: 行编辑也支持排他式激活 Closes https://github.com/fast-crud/fast-crud/issues/332pull/26/head
parent
b2abf1490b
commit
7d45db89bf
|
@ -15,8 +15,7 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
|
|||
};
|
||||
|
||||
const addRequest = async ({ form }: AddReq) => {
|
||||
const id = await api.AddObj(form);
|
||||
return { id };
|
||||
return await api.AddObj(form);
|
||||
};
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue