element-assits 0.0.23 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -57,9 +57,12 @@ Vue 原型上挂载了 `$asyncLoad` 方法
57
57
  | innerPagination | 内部 - 分页 | Boolean \| Object | undefined
58
58
  | innerOperation | 内部 - 操作栏(尾列)| Boolean \| Object | undefined
59
59
 
60
- > `innerForm` 可以绑定 `{ limit: 'auto', referenceItemWidth: 180, maxItemWidth: 240 }`
61
- `limit` 限制默认显示的搜索条件数量,`referenceItemWidth` 单项参考宽度,`maxItemWidth` 单项最大宽度。
62
- `column[].exclusiveDoubleCells` 允许某一项独占两格
60
+ > `innerForm` 额外属性(其余将绑定至EaForm):
61
+ $~~~~$`limit` 限制默认显示的搜索条件数量
62
+ $~~~~$`referenceItemWidth` 单项参考宽度
63
+ $~~~~$`maxItemWidth` 单项最大宽度
64
+ $~~~~$`loading` 控制更多按钮的加载状态
65
+ $~~~~$`column[].exclusiveDoubleCells` 允许某一项独占两格
63
66
  > `innerSelection` 可以绑定 `{ data: selectedRows }` 接收选中的行。
64
67
  > `innerOperation` 可以绑定 `{ maxNumOfBtn: 3 }` 设置操作栏最大显示的按钮数,超出将被折叠。
65
68
 
@@ -82,6 +85,13 @@ Vue 原型上挂载了 `$asyncLoad` 方法
82
85
  | after-column | 无 | 表格内部列之后
83
86
  | footer | bottom-menu&分页 | 表格底部
84
87
 
88
+ ## events
89
+ `search-reset` 搜索重置事件,默认重置搜索表单并搜索。
90
+ 一旦监听该事件,则阻止默认行为,参数为三项回调:
91
+ $~~~~$ `callback` 执行默认行为
92
+ $~~~~$ `reset` 仅执行重置
93
+ $~~~~$ `search` 仅执行搜索
94
+
85
95
  ## column-attributes
86
96
  | 属性名 | 类型 | 默认值 | 说明 |
87
97
  |:---|:---|:---|:---|