diff --git a/components/dropdown/demo/basic.md b/components/dropdown/demo/basic.md index 9e21e54d80..813c5af493 100644 --- a/components/dropdown/demo/basic.md +++ b/components/dropdown/demo/basic.md @@ -10,7 +10,7 @@ var Menu = antd.Menu; var Dropdown = antd.Dropdown; -var menu = +var menu = 第一个菜单项 diff --git a/components/dropdown/demo/event.md b/components/dropdown/demo/event.md index f92c0b1419..98798e8f50 100644 --- a/components/dropdown/demo/event.md +++ b/components/dropdown/demo/event.md @@ -9,11 +9,11 @@ ````jsx var Menu = antd.Menu; var Dropdown = antd.Dropdown; -var onClick = function ({key}){ +var onSelect = function ({key}){ alert('选中了菜单' + key); }; -var menu = +var menu = 第一个菜单项 第二个菜单项 第三个菜单项 diff --git a/components/dropdown/demo/item.md b/components/dropdown/demo/item.md index 99234928d4..4ed9fac86d 100644 --- a/components/dropdown/demo/item.md +++ b/components/dropdown/demo/item.md @@ -10,7 +10,7 @@ var Menu = antd.Menu; var Dropdown = antd.Dropdown; -var menu = +var menu = 第一个菜单项 diff --git a/components/dropdown/demo/trigger.md b/components/dropdown/demo/trigger.md index b852f1f2f8..781f48520e 100644 --- a/components/dropdown/demo/trigger.md +++ b/components/dropdown/demo/trigger.md @@ -10,7 +10,7 @@ var Menu = antd.Menu; var Dropdown = antd.Dropdown; -var menu = +var menu = 第一个菜单项 diff --git a/components/popconfirm/index.jsx b/components/popconfirm/index.jsx index daaf1dea2b..33d419ad4a 100644 --- a/components/popconfirm/index.jsx +++ b/components/popconfirm/index.jsx @@ -63,7 +63,6 @@ export default React.createClass({ diff --git a/components/select/demo/coordinate.md b/components/select/demo/coordinate.md index be9f9a423c..d2fad1e764 100644 --- a/components/select/demo/coordinate.md +++ b/components/select/demo/coordinate.md @@ -37,10 +37,10 @@ var App = React.createClass({ }, render() { var provinceOptions = provinceData.map(function(province) { - return ; + return ; }); var cityOptions = this.state.cities.map(function(city) { - return ; + return ; }); return