diff --git a/src/components/Common/SearchComponent/index.js b/src/components/Common/SearchComponent/index.js index e557386..1c4b6c8 100644 --- a/src/components/Common/SearchComponent/index.js +++ b/src/components/Common/SearchComponent/index.js @@ -610,8 +610,9 @@ export default class SearchComponent extends Component { } const addState = await this.defaultSearchSolution({ ...searchSolution[iIndex] || {}, sCondition: JSON.stringify(filterCondition) }); - this.props.onSaveState({ ...addState }); - this.props.onGetData(slaveConfig, filterCondition, '', '', '', '', addState.sGroupByList,); + this.props.onSaveState({ ...addState }, () => { + this.props.onGetData(slaveConfig, filterCondition, '', '', '', '', addState.sGroupByList,); + }); /* 判断是否要加载过滤树数据 */ const filterTreeConfigArr = slaveConfig.gdsconfigformslave.filter(item => item.bTree); if (commonUtils.isNotEmptyArr(filterTreeConfigArr)) {