search 搜索组件
基本使用
搜索,重置前可以通过 searchDataFormat
, refreshDataFormat
进行格式化数据
其他示例在submit组件中有说明
API
属性 | 说明 | Type | 默认值 |
---|---|---|---|
searchConfig | 搜索配置, 详细见searchConfig | object | - |
searchConfig
属性 | 说明 | Type | 默认值 |
---|---|---|---|
formAttrs | 表单样式, 详见el-form | function | - |
formItems | 表单子项配置,详见xb-form | array | - |
layout | 栅格占据的列数, xs: <768px sm: ≥768px md: ≥992px lg: ≥1200px xl: ≥1920px | object | { span: 6, xs: 24, lg: 8, xl: 6, md: 12, sm: 12, } |