custom/上海港湾-多语言版本
This commit is contained in:
parent
298274651c
commit
b25c3f5f1f
|
|
@ -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));
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue