MCPcopy Index your code
hub / github.com/codingapi/springboot-framework / handlerDelete

Function handlerDelete

admin-ui/src/pages/flow/work/index.tsx:25–31  ·  view source on GitHub ↗
(id: any)

Source from the content-addressed store, hash-verified

23 const [current, setCurrent] = React.useState<any>(null);
24
25 const handlerDelete = async (id: any) => {
26 const res = await remove(id);
27 if (res.success) {
28 message.success("保存成功");
29 }
30 actionRef.current?.reload();
31 }
32
33 const handlerCopy = async (id: any) => {
34 const res = await copy(id);

Callers 1

FlowPageFunction · 0.85

Calls 2

removeFunction · 0.90
successMethod · 0.80

Tested by

no test coverage detected