Browse Source

修复Demo无效的BUG

DatePicker的onSelect接口变更为onChange。
pull/800/head
shouyong 9 years ago
parent
commit
803a8d4ccc
  1. 2
      docs/getting-started.md

2
docs/getting-started.md

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

Loading…
Cancel
Save