1、代码
javascript
<DatePicker fieldProps={disabledDate: (current: any) => {
return current < moment().startOf('day');
}}/>
<DatePicker fieldProps={disabledDate: (current: any) => {
return current < moment().startOf('day');
}}/>