mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
message 组件名更新....
This commit is contained in:
parent
bc228af808
commit
0d2a6f9c3c
@ -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 '';
|
||||
}
|
||||
|
@ -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 '';
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user