mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
fix: 修复crud 默认不展示过滤条件初始请求没有发送的问题
This commit is contained in:
parent
abb615a00e
commit
0aeea91a08
@ -490,8 +490,8 @@ export default class CRUD extends React.Component<CRUDProps, any> {
|
||||
// 另外autoGenerateFilter时,table 里面会单独处理这块逻辑
|
||||
// 所以这里应该忽略 autoGenerateFilter 情况
|
||||
if (
|
||||
(!this.props.filter || (store.filterTogggable && !store.filterVisible)) &&
|
||||
!autoGenerateFilter
|
||||
(!this.props.filter && !autoGenerateFilter) ||
|
||||
(store.filterTogggable && !store.filterVisible)
|
||||
) {
|
||||
this.handleFilterInit({});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user