Commit a353d3f0 authored by 田翔's avatar 田翔

fix: 时间组件格式化问题

parent 2832b019
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "2.7.9", "version": "2.8.0",
"description": "2.7.9: 城市选择器bug,数据源弹出层修改展示名称", "description": "2.8.0: 时间组件格式化问题",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -32,7 +32,7 @@ const Time = (props) => { ...@@ -32,7 +32,7 @@ const Time = (props) => {
return ( return (
<TimePicker <TimePicker
style={{ width: '100%' }} style={{ width: '100%' }}
value={value ? moment(value, 'HH:mm:ss') : null} value={value ? moment(value) : null}
onChange={timeChange} onChange={timeChange}
disabledDate={disabledDate} disabledDate={disabledDate}
locale={locale} locale={locale}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment