mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
fix date-picker demo
This commit is contained in:
parent
10862b30a2
commit
87e6ec8940
@ -62,8 +62,6 @@ const DateRange = React.createClass({
|
|||||||
<div>
|
<div>
|
||||||
<DatePicker
|
<DatePicker
|
||||||
disabledDate={this.disabledStartDate}
|
disabledDate={this.disabledStartDate}
|
||||||
showTime
|
|
||||||
format="yyyy-MM-dd HH:mm:ss"
|
|
||||||
value={this.state.startValue}
|
value={this.state.startValue}
|
||||||
placeholder="开始日期"
|
placeholder="开始日期"
|
||||||
onChange={this.onStartChange}
|
onChange={this.onStartChange}
|
||||||
@ -71,8 +69,6 @@ const DateRange = React.createClass({
|
|||||||
/>
|
/>
|
||||||
<DatePicker
|
<DatePicker
|
||||||
disabledDate={this.disabledEndDate}
|
disabledDate={this.disabledEndDate}
|
||||||
showTime
|
|
||||||
format="yyyy-MM-dd HH:mm:ss"
|
|
||||||
value={this.state.endValue}
|
value={this.state.endValue}
|
||||||
placeholder="结束日期"
|
placeholder="结束日期"
|
||||||
onChange={this.onEndChange}
|
onChange={this.onEndChange}
|
||||||
|
Loading…
Reference in New Issue
Block a user