|
@@ -57,7 +57,7 @@ export function useHandle(refetch: () => void) {
|
|
|
|
|
|
width: isSuper ? DOUBLE_BTN_WIDTH : SMALL_TABLE_WIDTH,
|
|
|
fixed: 'right',
|
|
|
- render(_, {id, type}) {
|
|
|
+ render(_, {id, type, noticeCode}) {
|
|
|
return (
|
|
|
<>
|
|
|
<Button
|
|
@@ -73,7 +73,7 @@ export function useHandle(refetch: () => void) {
|
|
|
type='text'
|
|
|
danger
|
|
|
loading={deleteId === id}
|
|
|
- onClick={onDelete(id)}
|
|
|
+ onClick={onDelete(id, noticeCode)}
|
|
|
>
|
|
|
删除
|
|
|
</Button>
|