CustomHeader
说明
- 自定义header组件
<CustomList title='' data='' />
Props
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| title? | 标题 | string | - | '' |
| data | 数据 | { name: string; extra: string; [propName: string]: any }[] | - | [] |
| showCount? | 是否显示计数 | boolean | - | true |
| showHeader? | 是否显示头部 | boolean | - | true |
Slots
| 名称 | 说明 |
|---|---|
| actions | 组件头部操作区域插槽 |
| item | 组件单元数据插槽 |
| item-name | 组件单元数据名称区域插槽 |
| item-extra | 组件单元数据尾部区域插槽 |