adui
Version:
<div> <img src="https://wxa.wxs.qq.com/mpweb/delivery/legacy/wxadtouch/upload/t1/od834zef_52939fc6.png" style="margin:40px 0 0 -8px; background-color: #fcfcfc; box-shadow: none;" /> </div>
20 lines (13 loc) • 484 B
Markdown
category: Components
type: General
title: TimePicker
subtitle: 时间选择
时间选择器用于了解当前已选时间,选择或输入需要的时间、时间范围等。
## Alert
### 如何选择 minTime / maxTime 与 disabledHours ?
如果是实现“6 点之前都不能选”的话,推荐使用 `minTime="06:00"` 这样更直观的方式;
如果是实现“只有 12 点不能选”的话,那么只能使用 `disabledHours`。
## Props
### TimePicker