修复 Page initApi + 内容区 CRUD 用法, crud filter 改变总是刷新 page 的情况 (#1277)

This commit is contained in:
liaoxuezhi 2020-12-29 18:59:39 +08:00 committed by GitHub
parent c016bf25b4
commit 66d9f7b84e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,7 +353,8 @@ export default class CRUD extends React.Component<CRUDProps, any> {
'size',
'onChange',
'onInit',
'onSaved'
'onSaved',
'onQuery'
];
static defaultProps = {
toolbarInline: true,
@ -1939,6 +1940,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
onAction,
popOverContainer,
translate: __,
onQuery,
...rest
} = this.props;