element-assits 0.0.39 → 0.0.41

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
@@ -24,7 +24,7 @@ Vue.use(ElementAssits)
24
24
  ```
25
25
  使用:
26
26
  默认全局注册了 `EaForm` `EaTable` `EaSelect` `EaModal` `EaPopover` 等组件
27
- 提供了 `uuid` `recursive`, `asyncLoad`, `renderCell` 四个工具函数
27
+ 提供了 `uuid` `recursive` `recursiveFilter` `asyncLoad` `renderCell` 五个工具函数
28
28
  Vue 原型上挂载了 `$asyncLoad` 方法(与asyncLoad相同)
29
29
  > 如果单独引入 asyncLoad 方法,并且没有挂载在Vue原型上
30
30
  > 那么,asyncLoad 方法载入的组件将游离在vueApp实例树之外
@@ -249,6 +249,24 @@ el-scrollbar 衍生,优化样式
249
249
  |filterNodeMethod|过滤方法|Function|undefined|
250
250
  |emptyText|空数据时文字描述|String|暂无数据|
251
251
 
252
+ ### 虚拟树 EaDataTree
253
+ #### props
254
+ | 属性名 | 说明 | 类型 | 默认值 |
255
+ |:---|:---|:---|:---|
256
+ |data|(树)数据|Array|[]|
257
+ |props|配置项|Object|`{ label: 'label', value: 'value', children: 'children' }`|
258
+ |height|组件高度|Number \| String| auto |
259
+ |maxHeight|当自动高度时,限制最大高度|Number| 500 |
260
+ |itemSize|单项高度|Number|32|
261
+ |checkbox|是否显示多选框|Boolean|false|
262
+ |disableCheckbox|是否禁止多选框|Boolean|false|
263
+ |noDataText|无数据时的文本|String|暂无数据|
264
+ #### methods
265
+ | 方法名 | 说明 | 参数 |
266
+ |:---|:---|:---|
267
+ | getChecked | 获取选中项 | 无 |
268
+ | setChecked | 设置选中项 | (树)数据(以`props.value`匹配) |
269
+
252
270
  ### 列表 EaList
253
271
  #### props
254
272
  | 属性名 | 说明 | 类型 | 默认值 |