|
@@ -86,7 +86,7 @@ export function useHandle(refetch: () => void) {
|
|
|
key: 'id',
|
|
|
width: GREAT_TABLE_WIDTH,
|
|
|
fixed: 'right',
|
|
|
- render(_, {id}) {
|
|
|
+ render(_, {id, containerName}) {
|
|
|
return (
|
|
|
<>
|
|
|
<Button
|
|
@@ -117,7 +117,7 @@ export function useHandle(refetch: () => void) {
|
|
|
type='text'
|
|
|
danger
|
|
|
loading={pendingId === id}
|
|
|
- onClick={onDelete(id)}
|
|
|
+ onClick={onDelete(id, containerName)}
|
|
|
>
|
|
|
删除
|
|
|
</Button>
|