toggleMutation.mutate(record.id)} />
),
},
{
title: '操作',
key: 'actions',
render: (_: any, record: InjectionRule) => (
deleteMutation.mutate(record.id)}>
),
},
];
return (
<>
} onClick={() => setCreateOpen(true)}>
创建注入规则
setCreateOpen(false)}
confirmLoading={createMutation.isPending}
width={600}
>
>
);
}