Merge pull request #800 from enlangs/master

修复Demo无效的BUG
This commit is contained in:
afc163 2016-01-01 14:24:40 +08:00
commit 4e8d4d4186

View File

@ -63,7 +63,7 @@ const App = React.createClass({
},
render() {
return <div style={{width: 400, margin: '100px auto'}}>
<DatePicker onSelect={this.handleChange} />
<DatePicker onChange={this.handleChange} />
<div style={{marginTop: 20}}>当前日期:{this.state.date.toString()}</div>
</div>;
}