ant-design/components/form/demo/getValueProps-normalize.md
叶枫 54286673de
docs: add getValueProps demo (#49072)
* docs: add getValueProps demo

* feat: normalize

* feat: normalize

* feat: name

* feat: name

* feat: doc

* feat: date

* feat: tz

* feat: tz
2024-05-28 22:54:54 +08:00

8 lines
348 B
Markdown

## zh-CN
配合 `getValueProps``normalize`,可以转换 `value` 的格式,如将时间戳转成 `dayjs` 对象再传给 `DatePicker`
## en-US
By combining `getValueProps` and `normalize`, it is possible to convert the format of `value`, such as converting the timestamp into a `dayjs` object and then passing it to the `DatePicker`.