@riil-frontend/component-tag-select
v2.0.1
Published
Tab选择器
Downloads
25
Readme
Tab 选择器
tag-select
Tag 图片选择器
API
| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 | | ------------ | ----------------------------------------------- | ---- | ----------------- | ------ | ---- | | onChange | 组件选择变更时回调,返回 tagList 对象中的 key 值 | | (key)=>{} | | | | value | 当前选择值 对应数据中的 key | | string | | | | defaultValue | 默认值 | | string | | | | tagList | 组件数据列表 | | [{key,label,img}] | | | | imgPath | 图片路径 | | string | | | | imgHeight | 图片高度 | | number | | | | imgWidth | 图片宽度 | | number | | | | boxProps | box 属性透传 | | object | {} | |