1release/2.9.10.2312.02

This commit is contained in:
黎永顺 2024-01-17 11:11:41 +08:00
parent 1a38752cc6
commit e4e9083fe9
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ class Index extends Component {
super(props);
this.state = {
dataSource: [], loading: false, pageInfo: { current: 1, pageSize: 10, total: 0 },
salaryYearMonth: [moment().startOf("year").format("YYYY-MM"), moment().startOf("month").format("YYYY-MM")],
salaryYearMonth: [
moment(new Date()).subtract(1, 'year').startOf("year").format("YYYY-MM"),
moment().endOf("year").format("YYYY-MM")],
isMore: true //是否还有更多数据
};
}