|
@@ -49,13 +49,13 @@
|
|
return props.actions.map((action) => {
|
|
return props.actions.map((action) => {
|
|
const { popConfirm } = action;
|
|
const { popConfirm } = action;
|
|
return {
|
|
return {
|
|
|
|
+ type: 'link',
|
|
|
|
+ size: 'small',
|
|
...action,
|
|
...action,
|
|
...(popConfirm || {}),
|
|
...(popConfirm || {}),
|
|
onConfirm: popConfirm?.confirm,
|
|
onConfirm: popConfirm?.confirm,
|
|
onCancel: popConfirm?.cancel,
|
|
onCancel: popConfirm?.cancel,
|
|
enable: !!popConfirm,
|
|
enable: !!popConfirm,
|
|
- type: 'link',
|
|
|
|
- size: 'small',
|
|
|
|
};
|
|
};
|
|
});
|
|
});
|
|
});
|
|
});
|