Skip to content

Commit

Permalink
perf: 行编辑也支持排他式激活
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed Jan 25, 2024
1 parent 41db9ea commit 6837e44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/crud/editable/row/crud.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6837e44

Please sign in to comment.