react+antd中DatePicker组件(不能选中当前时间之前的时间)的代码

前言 本文章主要功能是实现不能选中当前时间之前的时间:即不能选中此刻以前的时间,好比此刻是2018年10月11日15:18,那么2018年10月11日15:18分以前的全部时间都不能选,包含时分。 若有疑问,欢迎留言交流!antd 代码 const { DatePicker, Row } = antd; class limitTime extends Component{ state={
相关文章
相关标签/搜索