fix: fix slot name for tab/tabs

This commit is contained in:
Justineo
2020-10-26 16:13:55 +08:00
parent 210627b8b3
commit 2ce16fa0b3
4 changed files with 338 additions and 17 deletions

View File

@@ -54,4 +54,4 @@
| -- | -- |
| `default` | 默认插槽。 |
| `item` | 标签选项卡内容,包括对应的按钮/链接。 |
| `item-label` | 标签选项卡文本。 |
| `label` | 标签选项卡文本。 |

View File

@@ -81,7 +81,7 @@
| `panel` | 选项卡下方面板区域。 |
| `extra` | 位于标签页右侧的扩展区域。 |
| `tab-item` | [^tab-item] |
| `tab-item-label` | 标签选项卡文本区域,默认内容为选项卡文本。作用域参数同 `tab-item` 插槽。 |
| `tab-label` | 标签选项卡文本区域,默认内容为选项卡文本。作用域参数同 `tab-item` 插槽。 |
^^^tab-item
标签选项卡区域,默认内容为选项卡对应的按钮/链接。作用域参数为标签属性描述对象。