docs(Badge) Change the description of the text attribute of the Badge component document (#6012)
* 更改Badge组件文档text属性说明 * 更改Avatar组件文档crossOrigin属性说明 Co-authored-by: 吴亚丹 <wuyadan@uniontech.com>pull/6047/head
parent
a69a7ff82a
commit
4201c923b5
|
@ -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 | - | |
|
||||
|
|
|
@ -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 | - | |
|
||||
|
|
Loading…
Reference in New Issue