From 5c8d1d2420ae4fc8863ecd8e62102f316da2268e Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 16 May 2020 10:54:25 +0800 Subject: [PATCH] docs(Cell): add extra slot (#6289) * docs(Cell): add extra slot * docs: upd --- src/cell/README.md | 15 ++++++++------- src/cell/README.zh-CN.md | 7 ++++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/cell/README.md b/src/cell/README.md index b52a3c95a..63e9248b5 100644 --- a/src/cell/README.md +++ b/src/cell/README.md @@ -154,10 +154,11 @@ Vue.use(CellGroup); ### Cell Slots -| Name | Description | -| ---------- | ----------------- | -| default | Custom value | -| icon | Custom icon | -| title | Custom title | -| label | Custom label | -| right-icon | Custom right icon | +| Name | Description | +| ---------- | --------------------------------- | +| default | Custom value | +| icon | Custom icon | +| title | Custom title | +| label | Custom label | +| right-icon | Custom right icon | +| extra | Custom extra content on the right | diff --git a/src/cell/README.zh-CN.md b/src/cell/README.zh-CN.md index 989677d53..d02da1172 100644 --- a/src/cell/README.zh-CN.md +++ b/src/cell/README.zh-CN.md @@ -159,8 +159,9 @@ Vue.use(CellGroup); | 名称 | 说明 | | ---------- | ----------------------------- | -| default | 自定义右侧内容 | -| title | 自定义左侧标题 | -| label | 自定义标题下方描述 | +| default | 自定义右侧 value 的内容 | +| title | 自定义左侧 title 的内容 | +| label | 自定义标题下方 label 的内容 | | icon | 自定义左侧图标 | | right-icon | 自定义右侧按钮,默认为`arrow` | +| extra | 自定义单元格最右侧的额外内容 |