🔱: [client] sync upgrade with 2 commits [trident-sync]

perf: 行编辑也支持排他式激活

Closes https://github.com/fast-crud/fast-crud/issues/332
pull/26/head
GitHub Actions Bot 2024-01-25 19:23:52 +00:00
parent b2abf1490b
commit 7d45db89bf
1 changed files with 1 additions and 2 deletions

View File

@ -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 {