forked from p96170835/amis
修复crud 中弹出出现两次的问题
This commit is contained in:
parent
5d8ff08db1
commit
842ecd8387
|
@ -117,7 +117,8 @@ export default class CRUD extends React.Component<CRUDProps, any> {
|
|||
'loadDataOnce',
|
||||
'loadDataOnceFetchOnFilter',
|
||||
'source',
|
||||
'header'
|
||||
'header',
|
||||
'onAction'
|
||||
];
|
||||
static defaultProps = {
|
||||
toolbarInline: true,
|
||||
|
@ -1571,6 +1572,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
|
|||
itemActions,
|
||||
classnames: cx,
|
||||
keepItemSelectionOnPageChange,
|
||||
onAction,
|
||||
...rest
|
||||
} = this.props;
|
||||
|
||||
|
|
|
@ -78,7 +78,10 @@ export default class Page extends React.Component<PageProps> {
|
|||
'body',
|
||||
'aside',
|
||||
'messages',
|
||||
'style'
|
||||
'style',
|
||||
'onAction',
|
||||
'onConfirm',
|
||||
'onClose'
|
||||
];
|
||||
|
||||
componentWillMount() {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue