fix querytable默认查询条件的判断

This commit is contained in:
2021-06-25 17:44:22 +08:00
parent 4408a87374
commit 4eace63902

View File

@@ -158,7 +158,7 @@ export default class QueryTable extends Component {
onLoadData = async () => { onLoadData = async () => {
this.onLoading() this.onLoading()
if (isEqual(this.query, {})) { if (isEqual(this.query, {}) && this.props.queryInitialValues) {
this.query = this.props.queryInitialValues this.query = this.props.queryInitialValues
} }