Skip to content

DatePicker 日期选择器

选择某一天

其它日期单位

选择一段时间

禁用指定日期

API

参数描述类型默认值是否必填
pickerType控件类型PickerTypedate
placeholder非范围选择时的占位内容string
clearable是否显示清除按钮booleanfalse
format显示在输入框中的格式stringYYYY-MM-DD
editable文本框可输入boolean

PickerType

描述
year
month
date
datetime时间
week
datetimerange时间范围
daterange日范围