mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
修复日期重置到当月第一天的问题
This commit is contained in:
parent
2a7212bff8
commit
d89dce3e53
@ -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
Block a user