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

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

Closes https://github.com/fast-crud/fast-crud/issues/332
This commit is contained in:
GitHub Actions Bot
2024-01-25 19:23:52 +00:00
parent b2abf1490b
commit 7d45db89bf

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 {