Skip to content

Commit

Permalink
Merge pull request #802 from XiaoMi/feature/daterange
Browse files Browse the repository at this point in the history
update
  • Loading branch information
solarjoker authored Nov 28, 2019
2 parents 4e88eae + 3280e28 commit 1e24801
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/date-picker/DateRangePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,9 @@ class DateRangePanel extends Component {
top: 5,
left: 89
}}
date={range}
date={date}
onPick={(d, r) => {
this.setState({
range: d,
leftDate: d.startDate,
rightDate: d.endDate
})
Expand Down

0 comments on commit 1e24801

Please sign in to comment.