From 0d2a6f9c3c9775361c9967e2b63bb5f5e76c8fff Mon Sep 17 00:00:00 2001 From: SimaQ Date: Thu, 29 Oct 2015 08:53:54 +0800 Subject: [PATCH] =?UTF-8?q?message=20=E7=BB=84=E4=BB=B6=E5=90=8D=E6=9B=B4?= =?UTF-8?q?=E6=96=B0....?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/form/demo/horizontal-form.md | 4 ++-- components/form/demo/inline-form.md | 4 ++-- components/form/demo/mix.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/form/demo/horizontal-form.md b/components/form/demo/horizontal-form.md index ce5e3dab64..9c6b546341 100644 --- a/components/form/demo/horizontal-form.md +++ b/components/form/demo/horizontal-form.md @@ -9,7 +9,7 @@ --- ````jsx -import {Form, Input, Button, Checkbox, Radio, Row, Col, Message} from 'antd'; +import {Form, Input, Button, Checkbox, Radio, Row, Col, message} from 'antd'; const FormItem = Form.Item; const RadioGroup = Radio.Group; @@ -30,7 +30,7 @@ const Demo = React.createClass({ handleSubmit(e) { e.preventDefault(); - Message.success("收到表单值~~~ :" + JSON.stringify(this.state.formData, function(k, v) { + message.success("收到表单值~~~ :" + JSON.stringify(this.state.formData, function(k, v) { if (typeof v === 'undefined') { return ''; } diff --git a/components/form/demo/inline-form.md b/components/form/demo/inline-form.md index 2c9604f2f9..9dcfa48df9 100644 --- a/components/form/demo/inline-form.md +++ b/components/form/demo/inline-form.md @@ -5,7 +5,7 @@ --- ````jsx -import {Form, Input, Button, Checkbox, Message} from 'antd'; +import {Form, Input, Button, Checkbox, message} from 'antd'; const FormItem = Form.Item; const Demo = React.createClass({ @@ -23,7 +23,7 @@ const Demo = React.createClass({ handleSubmit(e) { e.preventDefault(); - Message.success("收到表单值~~~ :" + JSON.stringify(this.state.formData, function(k, v) { + message.success("收到表单值~~~ :" + JSON.stringify(this.state.formData, function(k, v) { if (typeof v === 'undefined') { return ''; } diff --git a/components/form/demo/mix.md b/components/form/demo/mix.md index 590360e21c..33141dd827 100644 --- a/components/form/demo/mix.md +++ b/components/form/demo/mix.md @@ -7,7 +7,7 @@ --- ````jsx -import {Form, Input, Select, InputNumber, Datepicker, Switch, Menu, Dropdown, Slider, Icon, Button, Message, Row, Col} from 'antd'; +import {Form, Input, Select, InputNumber, Datepicker, Switch, Menu, Dropdown, Slider, Icon, Button, message, Row, Col} from 'antd'; const FormItem = Form.Item; const Option = Select.Option;