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