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