From f32ae6635266e52703ad7ba32a0a6132fcaeff25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E4=BA=9A=E4=B8=B9?= Date: Mon, 10 Oct 2022 14:16:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=94=B9Badge=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=96=87=E6=A1=A3text=E5=B1=9E=E6=80=A7=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/badge/index.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/badge/index.zh-CN.md b/components/badge/index.zh-CN.md index 7c4a7fd42c..3089f7bf3b 100644 --- a/components/badge/index.zh-CN.md +++ b/components/badge/index.zh-CN.md @@ -36,7 +36,7 @@ cover: https://gw.alipayobjects.com/zos/antfincdn/6%26GF9WHwvY/Badge.svg | overflowCount | 展示封顶的数字值 | number | 99 | | | showZero | 当数值为 0 时,是否展示 Badge | boolean | false | | | status | 设置 Badge 为状态点 | Enum{ 'success', 'processing, 'default', 'error', 'warning' } | '' | | -| text | 在设置了 `status` 的前提下有效,设置状态点的文本 | string | '' | | +| text | 设置状态点的文本 | string | '' | | | title | 设置鼠标放在状态点上时显示的文字 | string | `count` | | ### Badge.Ribbon (2.0.1+) From 78ad7bfb075b4603ee2f27d1c7213f267fc47519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E4=BA=9A=E4=B8=B9?= Date: Mon, 10 Oct 2022 14:42:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=94=B9Avatar=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=96=87=E6=A1=A3crossOrigin=E5=B1=9E=E6=80=A7=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/avatar/index.en-US.md | 2 +- components/avatar/index.zh-CN.md | 2 +- components/badge/index.zh-CN.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/avatar/index.en-US.md b/components/avatar/index.en-US.md index cdf8f23a10..90bdf08fc7 100644 --- a/components/avatar/index.en-US.md +++ b/components/avatar/index.en-US.md @@ -14,7 +14,7 @@ Avatars can be used to represent people or objects. It supports images, `Icon`s, | Property | Description | Type | Default | Version | | --- | --- | --- | --- | --- | | alt | This attribute defines the alternative text describing the image | string | - | | -| crossOrigin | CORS settings attributes | `'anonymous'` \| `'use-credentials'` \| `''` | - | 3.0 | +| crossOrigin | cors settings attributes | `'anonymous'` \| `'use-credentials'` \| `''` | - | 3.0 | | draggable | Whether the picture is allowed to be dragged | boolean \| `'true'` \| `'false'` | - | 2.2.0 | | gap | Letter type unit distance between left and right sides | number | 4 | 2.2.0 | | icon | the `Icon` type for an icon avatar, see `Icon` Component | VNode \| slot | - | | diff --git a/components/avatar/index.zh-CN.md b/components/avatar/index.zh-CN.md index a5a0aaff80..4eae59b5b7 100644 --- a/components/avatar/index.zh-CN.md +++ b/components/avatar/index.zh-CN.md @@ -19,7 +19,7 @@ cover: https://gw.alipayobjects.com/zos/antfincdn/aBcnbw68hP/Avatar.svg | 参数 | 说明 | 类型 | 默认值 | 版本 | | --- | --- | --- | --- | --- | | alt | 图像无法显示时的替代文本 | string | - | | -| crossOrigin | CORS 属性设置 | `'anonymous'` \| `'use-credentials'` \| `''` | - | 3.0 | +| crossOrigin | cors 属性设置 | `'anonymous'` \| `'use-credentials'` \| `''` | - | 3.0 | | draggable | 图片是否允许拖动 | boolean \| `'true'` \| `'false'` | - | 2.2.0 | | gap | 字符类型距离左右两侧边界单位像素 | number | 4 | 2.2.0 | | icon | 设置头像的图标类型,可设为 Icon 的 `type` 或 VNode | VNode \| slot | - | | diff --git a/components/badge/index.zh-CN.md b/components/badge/index.zh-CN.md index 3089f7bf3b..7c4a7fd42c 100644 --- a/components/badge/index.zh-CN.md +++ b/components/badge/index.zh-CN.md @@ -36,7 +36,7 @@ cover: https://gw.alipayobjects.com/zos/antfincdn/6%26GF9WHwvY/Badge.svg | overflowCount | 展示封顶的数字值 | number | 99 | | | showZero | 当数值为 0 时,是否展示 Badge | boolean | false | | | status | 设置 Badge 为状态点 | Enum{ 'success', 'processing, 'default', 'error', 'warning' } | '' | | -| text | 设置状态点的文本 | string | '' | | +| text | 在设置了 `status` 的前提下有效,设置状态点的文本 | string | '' | | | title | 设置鼠标放在状态点上时显示的文字 | string | `count` | | ### Badge.Ribbon (2.0.1+)