修复日期重置到当月第一天的问题
This commit is contained in:
parent
9f913d2567
commit
f6ae7ffaf3
|
@ -94,7 +94,7 @@ export class CustomDaysView extends DaysView {
|
|||
};
|
||||
|
||||
confirm = () => {
|
||||
const date = this.props.viewDate.clone();
|
||||
const date = (this.props.selectedDate || this.props.viewDate).clone();
|
||||
|
||||
this.props.setDateTimeState({
|
||||
selectedDate: date
|
||||
|
|
Loading…
Reference in New Issue