diff --git a/docs/getting-started.md b/docs/getting-started.md index 01d4c07700..6938cb25bf 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -78,17 +78,18 @@ var App = React.createClass({ }; }, handleChange(value) { + message.info('您选择的日期是: ' + value.toString()); this.setState({ date: value }); }, notice() { - message.info(this.state.date.toString()); + }, render() { - return
+ return
- +
当前日期:{this.state.date.toString()}
; } });