feature/2.15.1.2407.01-薪资项目以及字段管理页面改造

This commit is contained in:
黎永顺 2024-08-16 16:19:00 +08:00
parent fd3d8b5ec4
commit d1fc6e4ea0
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ class SalaryItemsTable extends Component {
};
}
componentDidMount() {
this.getItemList(this.props);
}
componentWillReceiveProps(nextProps, nextContext) {
if (nextProps.isQuery !== this.props.isQuery) this.getItemList(nextProps);
}