EdDatepicker

日期选择器

默认格式

<EdDatePicker checkChange={this.onChange} />

设置最大最小时间

<EdDatePicker
    type="calendar"
    maxDate="20190930"
    minDate="20190915"
    checkChange={this.onChange}
/>

props参数

属性

类型

可选值

默认值

说明

type

string

calendar为日历模式

--

默认为滚轮模式

dateValue

string

--

--

默认日期

minDate

string

--

--

限制最小时间

maxDate

string

--

--

限制最大时间事件

事件回调

事件名称

说明

回调参数

checkChange

选择日期并提交返回事件

(value) => {}

Last updated

Was this helpful?