Module: Datepicker

日期选择组件
Properties:
Name Type Description
props Object 组件属性,内容如下
Properties
Name Type Description
value String
placeholder String 占位字符
formatter String 格式化
minDate String 最小日期
maxDate String 最大日期
minTime String 最小时间
maxTime String 最大时间
readOnly Boolean 只读
plugin String 插件地址
onChange function onChange事件

Examples

组件引入

// 全局模块引入
import { Datepicker } from '@ccreator/smart-ui';
// 最小化模块引入
import Datepicker from '@ccreator/smart-ui/dist/Datepicker';

使用示例

<Datepicker
    plugin="./My97DatePicker/WdatePicker.js",
    minDate={dayjs().format('YYYY-MM-DD')}
    maxDate={dayjs().add(30, 'day').format('YYYY-MM-DD')}
/>