介绍

  1. <:datePicker name="picker1" style="margin-bottom: 22px;"/>
属性 说明 类型 默认值
name 对应input的name属性 必填 string -
label 显示字段名称 必填 string -
required 是否必填字段 bool false
inForm 是否现在在表单中 bool false
type 选择类型,可选值有:year(年)、month(年月)、date(年月日)、time(时分秒)、datetime(年月日时分秒) string date
range 是否开启范围选择 bool false
style 自定义样式 string

示例位置

  • src/main/resources/templates/system/demo/form.html

预览

image.png
image.png