custom/上海港湾-多语言版本

This commit is contained in:
黎永顺 2024-01-19 13:44:34 +08:00
parent 298274651c
commit b25c3f5f1f
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ class Index extends Component {
myJuniorTree({ statusList }).then(({ status, data }) => {
if (status) {
this.setState({
juniorMapList: this.convertToTreeDatas(data),
employeeId: !_.isNil(data) ? _.head(data).employeeId : ""
juniorMapList: !_.isEmpty(data) ? this.convertToTreeDatas(data) : [],
employeeId: !_.isEmpty(data) ? _.head(data).employeeId : ""
}, () => this.getMySalaryBillList(this.props));
}
});