DatePicker 日期选择器
DatePicker、MonthPicker、RangePicker, WeekPicker组件都通过
datePicker
生成,可配合props.type
生成不同的组件
规则
js
{
type: "DatePicker",
field: "section_day",
title: "活动日期",
value: ['2018-02-20 12:12:12', '2018-03-20 12:12:12'],
props: {
type: "datetimerange",
placeholder:"请选择活动日期",
}
}
Props参考:TDesign_DatePicker
value: String | Array