Skip to content

Commit

Permalink
fix: doc typo of antd (#699)
Browse files Browse the repository at this point in the history
* feat: update antd component

* feat: update local
  • Loading branch information
JohnIsOnTheRoad authored Mar 3, 2020
1 parent 931b0df commit a10efdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/antd-components/README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,10 @@ const App = () => {
return (
<Form>
<FormItem label="Simple Select" name="simpleSelect" component={Select}
enum={['1', '2', '3', '4']}
dataSource={['1', '2', '3', '4']}
/>
<FormItem label="Object Select" name="objSelect" component={Select}
enum={[
dataSource={[
{ label: 'One', value: '1' },
{ label: 'Two', value: '2' },
{ label: 'Three', value: '3' },
Expand Down
4 changes: 2 additions & 2 deletions packages/next-components/README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,10 @@ const App = () => {
return (
<Form>
<FormItem label="Simple Select" name="simpleSelect" component={Select}
enum={['1', '2', '3', '4']}
dataSource={['1', '2', '3', '4']}
/>
<FormItem label="Object Select" name="objSelect" component={Select}
enum={[
dataSource={[
{ label: 'One', value: '1' },
{ label: 'Two', value: '2' },
{ label: 'Three', value: '3' },
Expand Down

0 comments on commit a10efdf

Please sign in to comment.