Appearance
Search
搜索栏
基础用法
条件模板
属性
ham-search
| 属性名 | 说明 | 类型 | 默认值 | 版本 |
|---|---|---|---|---|
| confirmTxt | 查询按钮显示文本 | string | ||
| clearTxt | 重置按钮显示文本 | string | ||
| saveable | 是否可保存查询条件模板 | boolean | false | |
| expand | 是否默认展开 | boolean | false |
ham-search-item
| 属性名 | 说明 | 类型 | 默认值 | 版本 |
|---|---|---|---|---|
| prop | 搜索键 | string | ||
| label | 搜索标题 | string | ||
| emitType | 搜索触发方式,回车触发enter,值改变触发change | string | none |
事件
| 事件名 | 说明 | 参数 |
|---|---|---|
| confirm | 点击查询按钮的回调函数 | |
| clear | 点击清空按钮的回调函数 | |
| quickQuery | 点击查询模板列表快速查询的回调事件 | modal |
| updateCache | 查询模板缓存更新回调 | cache |