From a3149521bd15ad144f6ff71166c7bf95a9058dd7 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Tue, 15 Mar 2022 22:47:33 +0800 Subject: [PATCH] doc: update doc --- components/config-provider/demo/index.vue | 3 +++ components/list/index.en-US.md | 8 ++++---- components/list/index.zh-CN.md | 4 ++-- site/src/components/rice/WWAds.vue | 12 ++++++------ site/src/layouts/index.vue | 4 ++-- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/components/config-provider/demo/index.vue b/components/config-provider/demo/index.vue index 0177c24b2..181c79fa5 100644 --- a/components/config-provider/demo/index.vue +++ b/components/config-provider/demo/index.vue @@ -2,6 +2,7 @@ + @@ -9,6 +10,7 @@ diff --git a/components/list/index.en-US.md b/components/list/index.en-US.md index bd19b209b..02cd1e218 100644 --- a/components/list/index.en-US.md +++ b/components/list/index.en-US.md @@ -58,10 +58,10 @@ More about pagination, please check [`Pagination`](https://www.antdv.com/compone ### List.Item -| Property | Description | Type | Default | -| --- | --- | --- | --- | -| actions | The actions content of list item. If `itemLayout` is `vertical`, shows the content on bottom, otherwise shows content on the far right. | Array\\\|slot | - | -| extra | The extra content of list item. If `itemLayout` is `vertical`, shows the content on right, otherwise shows content on the far right. | string\|slot | - | +| Property | Description | Type | Default | Version | +| --- | --- | --- | --- | --- | +| actions | The actions content of list item. If `itemLayout` is `vertical`, shows the content on bottom, otherwise shows content on the far right. | vNode[] \|slot | - | | +| extra | The extra content of list item. If `itemLayout` is `vertical`, shows the content on right, otherwise shows content on the far right. | string\|slot | - | | ### List.Item.Meta diff --git a/components/list/index.zh-CN.md b/components/list/index.zh-CN.md index cb6ce2d29..bb380a7d9 100644 --- a/components/list/index.zh-CN.md +++ b/components/list/index.zh-CN.md @@ -59,9 +59,9 @@ cover: https://gw.alipayobjects.com/zos/alicdn/5FrZKStG_/List.svg ### List.Item -| 参数 | 说明 | 类型 | 默认值 | | +| 参数 | 说明 | 类型 | 默认值 | 版本 | | --- | --- | --- | --- | --- | -| actions | 列表操作组,根据 `itemLayout` 的不同, 位置在卡片底部或者最右侧 | Array\\/ | slot | - | +| actions | 列表操作组,根据 `itemLayout` 的不同, 位置在卡片底部或者最右侧 | vNode[] \| slot | - | | extra | 额外内容, 通常用在 `itemLayout` 为 `vertical` 的情况下, 展示右侧内容; `horizontal` 展示在列表元素最右侧 | string\|slot | - | | ### List.Item.Meta diff --git a/site/src/components/rice/WWAds.vue b/site/src/components/rice/WWAds.vue index 3d1b9815c..c036840d8 100644 --- a/site/src/components/rice/WWAds.vue +++ b/site/src/components/rice/WWAds.vue @@ -1,6 +1,6 @@ diff --git a/site/src/layouts/index.vue b/site/src/layouts/index.vue index b4d0d7813..30827b267 100644 --- a/site/src/layouts/index.vue +++ b/site/src/layouts/index.vue @@ -37,7 +37,8 @@
- + + @@ -78,7 +79,6 @@