diff --git a/components/checkbox/Group.jsx b/components/checkbox/Group.jsx index 02995db992..abfff666c9 100644 --- a/components/checkbox/Group.jsx +++ b/components/checkbox/Group.jsx @@ -63,7 +63,7 @@ export default React.createClass({
{ options.map(option => - diff --git a/components/checkbox/demo/group.md b/components/checkbox/demo/group.md index eb0d77ca03..c853508fb9 100644 --- a/components/checkbox/demo/group.md +++ b/components/checkbox/demo/group.md @@ -25,12 +25,19 @@ const options = [{ label: '橘', value: 'Orange', }]; +const optionsWithDisabled = [ + { label: '苹果', value: 'Apple' }, + { label: '梨', value: 'Pear' }, + { label: '橘', value: 'Orange', disabled: false }, +]; ReactDOM.render(

+
+
, mountNode); ````