根据文档ant设计4.7 onChange Callback function, can be executed when the selected time is changing functiondateString: Array<string> console.log(date); }; 找不到和设计RangePickeronChange for参数类型的
我使用的是来自ant js的日期范围选择器。但是如果我想设置日期选择器的默认值,我不能设置它。它显示以下错误: react-dom.production.min.js?ca5d:196 Error: The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`,} = DatePicker; <div>
我有一个Rangepicker表的日期和时间,这个表是动态的,我可以添加和删除这些范围选择器,因为你看下面的图片: ? 我希望将这些值存储在另一个表中,以便将其发送到后端,当我在Rangepicker上有值时,我会得到一个错误。我的代码是: import { DatePicker } from 'antd';import fr_FR from 'antd{
c