Skip to content

Commit

Permalink
Update index.zh-CN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Dec 24, 2020
1 parent fa376f9 commit 6192403
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions components/form/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,11 @@ Form 通过增量更新方式,只更新被修改的字段相关组件以达到

```tsx
<Form.List>
{fields => (
<div>
{fields.map(field => (
<Form.Item {...field}>
<Input />
</Form.Item>
))}
</div>
)}
1
{fields => fields.map(field => (
<Form.Item {...field}>
<Input />
</Form.Item>
))}
</Form.List>
```

Expand Down

0 comments on commit 6192403

Please sign in to comment.