单个时间选择

演示

format 类型

range 时间段

scopeTime 禁用部分时间,scopeTime范围代表可选时间范围

刻度 目前只支持单个format得任意刻度

hideClear,disabled,placeholder,

API

Attributes

名称类型可选值默认值说明
v-modelstring可为空,如果有初始值,需要按照HH:mm:ss格式传入,需要跟进对应得format传入对应得默认时间时间
formatstringh/m/s/hm/ms/hmshms时间类型
rangebooleantrue/falsefalse是否开启时间段
scopeTimestring"01:10:20-05:14:45" 需要按照HH:mm:ss格式传入,需要跟进对应得format传入对应得scopeTime''可选择的时间段
placeholderstring''占位符
stepHnumber1-241小时刻度
stepMnumber1-601分刻度
stepSnumber1-601秒刻度
hideClearbooleantrue/falsefalse是否显示清空icon
errorTextstring错误文本
currentTimebooleantrue/falsefalse下拉展开是否显示当前时间
widthnumber208触发器宽度
disabledbooleantrue/falsefalse是否禁用
disabledTipsTextstring组件整体禁用提示文案
scopeDisabledTipsTextstring时间禁用提示文案
popoverAttrsPopoverProps{}--popover组件的属性 属性参考 Popover props

Events

名称参数说明
change(value: string)按钮点击回调

最近更新于: