From f8dc2231d5b54081d9fbaea154ad8fc9f7b25f9a Mon Sep 17 00:00:00 2001 From: zombiej Date: Tue, 10 Aug 2021 15:41:38 +0800 Subject: [PATCH] docs: Fix Form.List operation doc table --- components/form/index.en-US.md | 10 +++++----- components/form/index.zh-CN.md | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/form/index.en-US.md b/components/form/index.en-US.md index b866945f6f..2789d7c57f 100644 --- a/components/form/index.en-US.md +++ b/components/form/index.en-US.md @@ -193,11 +193,11 @@ Note: You should not configure Form.Item `initialValue` under Form.List. It alwa Some operator functions in render form of Form.List. -| Property | Description | Type | Default | -| --- | --- | --- | --- | -| add | add form item | (defaultValue?: any, insertIndex?: number) => void | insertIndex: 4.6.0 | -| move | move form item | (from: number, to: number) => void | - | -| remove | remove form item | (index: number \| number\[]) => void | number\[]: 4.5.0 | +| Property | Description | Type | Default | Version | +| --- | --- | --- | --- | --- | +| add | add form item | (defaultValue?: any, insertIndex?: number) => void | insertIndex | 4.6.0 | +| move | move form item | (from: number, to: number) => void | - | | +| remove | remove form item | (index: number \| number\[]) => void | number\[] | 4.5.0 | ## Form.ErrorList diff --git a/components/form/index.zh-CN.md b/components/form/index.zh-CN.md index 9dcdb296b3..4113767d5a 100644 --- a/components/form/index.zh-CN.md +++ b/components/form/index.zh-CN.md @@ -192,11 +192,11 @@ Form 通过增量更新方式,只更新被修改的字段相关组件以达到 Form.List 渲染表单相关操作函数。 -| 参数 | 说明 | 类型 | 默认值 | -| ------ | ---------- | -------------------------------------------------- | ------------------ | -| add | 新增表单项 | (defaultValue?: any, insertIndex?: number) => void | insertIndex: 4.6.0 | -| move | 移动表单项 | (from: number, to: number) => void | - | -| remove | 删除表单项 | (index: number \| number\[]) => void | number\[]: 4.5.0 | +| 参数 | 说明 | 类型 | 默认值 | 版本 | +| ------ | ---------- | -------------------------------------------------- | ----------- | ----- | +| add | 新增表单项 | (defaultValue?: any, insertIndex?: number) => void | insertIndex | 4.6.0 | +| move | 移动表单项 | (from: number, to: number) => void | - | | +| remove | 删除表单项 | (index: number \| number\[]) => void | number\[] | 4.5.0 | ## Form.ErrorList