mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +08:00
🔱: [client] sync upgrade with 2 commits [trident-sync]
perf: 行编辑也支持排他式激活 Closes https://github.com/fast-crud/fast-crud/issues/332
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user