Tab 标签页
选项卡组件,用于在不同的内容区域之间进行切换。
代码演示
基础用法
通过title设置选项卡标题名称。
<hd-tab :title="title"></hd-tab>
const title:string = 'tab'
Props
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
| title | 选项卡标题 | String | false | - |
Slots
| Name | Description | Default Slot Content |
|---|---|---|
| default | - | - |