This commit is contained in:
AllenFang 2019-02-23 16:13:40 +08:00
parent 6070d150a9
commit 8e940112f5

View File

@ -40,7 +40,7 @@ export default (
componentWillReceiveProps(nextProps) {
let nextData = nextProps.data;
if (!isRemoteFiltering() && !_.isEqual(nextProps.data, this.props.data)) {
if (!isRemoteFiltering() && !_.isEqual(nextProps.data, this.state.data)) {
nextData = this.doFilter(nextProps);
}
this.setState({