From f1699d37889ed5934b161ac20a37d4489ac083e5 Mon Sep 17 00:00:00 2001 From: ice <49827327+coding-ice@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:51:45 +0800 Subject: [PATCH] docs: dead anchor (#49897) --- components/form/index.en-US.md | 2 +- components/form/index.zh-CN.md | 2 +- components/menu/index.en-US.md | 2 +- components/menu/index.zh-CN.md | 2 +- components/radio/index.en-US.md | 2 +- components/radio/index.zh-CN.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/form/index.en-US.md b/components/form/index.en-US.md index f71ede971a..1bd10ffc16 100644 --- a/components/form/index.en-US.md +++ b/components/form/index.en-US.md @@ -313,7 +313,7 @@ Provide linkage between forms. If a sub form with `name` prop update, it will au | setFieldValue | Set fields value(Will directly pass to form store and **reset validation message**. If you do not want to modify passed object, please clone first) | (name: [NamePath](#namepath), value: any) => void | 4.22.0 | | setFieldsValue | Set fields value(Will directly pass to form store and **reset validation message**. If you do not want to modify passed object, please clone first). Use `setFieldValue` instead if you want to only config single value in Form.List | (values) => void | | | submit | Submit the form. It's same as click `submit` button | () => void | | -| validateFields | Validate fields. Use `recursive` to validate all the field in the path | (nameList?: [NamePath](#namepath)\[], config?: [ValidateConfig](#validateFields)) => Promise | | +| validateFields | Validate fields. Use `recursive` to validate all the field in the path | (nameList?: [NamePath](#namepath)\[], config?: [ValidateConfig](#validatefields)) => Promise | | #### validateFields diff --git a/components/form/index.zh-CN.md b/components/form/index.zh-CN.md index b91ea6ebb0..211ad164ce 100644 --- a/components/form/index.zh-CN.md +++ b/components/form/index.zh-CN.md @@ -312,7 +312,7 @@ Form.List 渲染表单相关操作函数。 | setFieldValue | 设置表单的值(该值将直接传入 form store 中并且**重置错误信息**。如果你不希望传入对象被修改,请克隆后传入) | (name: [NamePath](#namepath), value: any) => void | 4.22.0 | | setFieldsValue | 设置表单的值(该值将直接传入 form store 中并且**重置错误信息**。如果你不希望传入对象被修改,请克隆后传入)。如果你只想修改 Form.List 中单项值,请通过 `setFieldValue` 进行指定 | (values) => void | | | submit | 提交表单,与点击 `submit` 按钮效果相同 | () => void | | -| validateFields | 触发表单验证,设置 `recursive` 时会递归校验所有包含的路径 | (nameList?: [NamePath](#namepath)\[], config?: [ValidateConfig](#validateFields)) => Promise | | +| validateFields | 触发表单验证,设置 `recursive` 时会递归校验所有包含的路径 | (nameList?: [NamePath](#namepath)\[], config?: [ValidateConfig](#validatefields)) => Promise | | #### validateFields diff --git a/components/menu/index.en-US.md b/components/menu/index.en-US.md index 63346bf92c..3b431931d7 100644 --- a/components/menu/index.en-US.md +++ b/components/menu/index.en-US.md @@ -69,7 +69,7 @@ Common props ref:[Common props](/docs/react/common-props) ### ItemType -> type ItemType = [MenuItemType](#MenuItemType) | [SubMenuType](#SubMenuType) | [MenuItemGroupType](#MenuItemGroupType) | [MenuDividerType](#MenuDividerType); +> type ItemType = [MenuItemType](#menuitemtype) | [SubMenuType](#submenutype) | [MenuItemGroupType](#menuitemgrouptype) | [MenuDividerType](#menudividertype); #### MenuItemType diff --git a/components/menu/index.zh-CN.md b/components/menu/index.zh-CN.md index 6bfe61e1c7..b567123e5a 100644 --- a/components/menu/index.zh-CN.md +++ b/components/menu/index.zh-CN.md @@ -70,7 +70,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*Vn4XSqJFAxcAAA ### ItemType -> type ItemType = [MenuItemType](#MenuItemType) | [SubMenuType](#SubMenuType) | [MenuItemGroupType](#MenuItemGroupType) | [MenuDividerType](#MenuDividerType); +> type ItemType = [MenuItemType](#menuitemtype) | [SubMenuType](#submenutype) | [MenuItemGroupType](#menuitemgrouptype) | [MenuDividerType](#menudividertype); #### MenuItemType diff --git a/components/radio/index.en-US.md b/components/radio/index.en-US.md index daffe422be..eed699bd13 100644 --- a/components/radio/index.en-US.md +++ b/components/radio/index.en-US.md @@ -55,7 +55,7 @@ Radio group can wrap a group of `Radio`。 | defaultValue | Default selected value | any | - | | | disabled | Disable all radio buttons | boolean | false | | | name | The `name` property of all `input[type="radio"]` children | string | - | | -| options | Set children optional | string\[] \| number\[] \| Array<[CheckboxOptionType](#CheckboxOptionType)> | - | | +| options | Set children optional | string\[] \| number\[] \| Array<[CheckboxOptionType](#checkboxoptiontype)> | - | | | optionType | Set Radio optionType | `default` \| `button` | `default` | 4.4.0 | | size | The size of radio button style | `large` \| `middle` \| `small` | - | | | value | Used for setting the currently selected value | any | - | | diff --git a/components/radio/index.zh-CN.md b/components/radio/index.zh-CN.md index 2892b3be2c..7b80485634 100644 --- a/components/radio/index.zh-CN.md +++ b/components/radio/index.zh-CN.md @@ -58,7 +58,7 @@ demo: | defaultValue | 默认选中的值 | any | - | | | | disabled | 禁选所有子单选器 | boolean | false | | | | name | RadioGroup 下所有 `input[type="radio"]` 的 `name` 属性 | string | - | | | -| options | 以配置形式设置子元素 | string\[] \| number\[] \| Array<[CheckboxOptionType](#CheckboxOptionType)> | - | | | +| options | 以配置形式设置子元素 | string\[] \| number\[] \| Array<[CheckboxOptionType](#checkboxoptiontype)> | - | | | | optionType | 用于设置 Radio `options` 类型 | `default` \| `button` | `default` | 4.4.0 | | | size | 大小,只对按钮样式生效 | `large` \| `middle` \| `small` | - | | | | value | 用于设置当前选中的值 | any | - | | |