@culm/components
v0.2.6
Published
``` javascript import { CityPicker } from '@aiot/components' ```
Downloads
3
Readme
CityPicker 省市区选择器
import { CityPicker } from '@aiot/components'
属性
| 参数 | 说明 |类型| 默认值| | ---- | ---- | ---- | ---- | | data | 省市区数据 |array|-| | value | 已选中的数据 | [{code,label},{code,label},{code,label}]|-|
事件
| 事件名 | 说明 | 参数 | | :----- | :------------------------------------------- | :------------------------------------------------- | | change | 当用户选择完省市区数据后触发 | [{code,label},{code,label},{code,label}] // 省市区 |
slot
| name | 说明 | | --- | ---| | extra | 标题区右侧内容 |