fix date-picker demo

This commit is contained in:
afc163 2016-09-08 14:09:36 +08:00
parent 10862b30a2
commit 87e6ec8940

View File

@ -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}