README
cascader组件Props文档
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
data | 选项数据源 | Array | [ ] |
defaultData | 选中的数据 | Array | [ ] |
plcaeHolder | input输入框为空时的占位符 | String | 请选择 |
isShowCascader | 控制显示级联面板 | Boolean | false |
isShowClear | 是否支持input清空符号 | Boolean | true |
disabled | 是否禁用 | Boolean | false |
data选项数据源格式是[{text:'', value: '', isHasChild: true, parentValue:''}]
cascader组件Events文档
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
onChange | 选中数据后的回调 | Function | (data)=>{} |
clearEvent | 清空input事件回调 | Function | ( )=>{} |
focusEvent | input聚焦回调 | Function | (isShowCascader)=>{} |