产品-薪资档案列表延迟的bug修复

This commit is contained in:
黎永顺 2023-06-12 16:22:27 +08:00
parent a5a481987c
commit 644df23ccc
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ class Index extends Component {
});
queryList(payload, searchItemsValue, url).then(({ data, status }) => {
this.setState({ loading: { ...loading, query: false } });
if (status) {
if (status && selectedKey === _.lowerCase(data.listType)) {
const { pageInfo: paganition } = data;
const { list: dataSource, total, pageNum: current, pageSize } = paganition;
this.setState({