DatePicker: support literal (#15525)

This commit is contained in:
Zhi Cun
2019-05-30 14:43:17 +08:00
committed by luckyCao
parent fa802b893f
commit a7d3f69f95
6 changed files with 117 additions and 30 deletions

View File

@@ -299,6 +299,7 @@
| `A` | AM/PM | 仅 `format` 可用,大写 | AM |
| `a` | am/pm | 仅 `format` 可用,小写 | am |
| `timestamp` | JS时间戳 | 仅 `value-format` 可用;组件绑定值为`number`类型 | 1483326245000 |
| `[MM]` | 不需要格式化字符 | 使用方括号标识不需要格式化的字符 (如 [A] [MM]) | MM |
:::demo
```html