hzzt-table 1.0.2 → 1.0.4

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
@@ -43,7 +43,7 @@ app.mount('#app')
43
43
  | enableCollapseAll | boolean | false | tree和expand表格是否支持一键展开 |
44
44
  | defaultExpandAll | boolean | false | 默认全部展开 |
45
45
  | enableDrag | boolean | false | 启用行拖拽 |
46
- | shiftPick | boolean | true | 启用shift建快速选择 |
46
+ | shiftPick | boolean | true | 启用shift键快速选择(树形表格需要指定isChild和parentField字段) |
47
47
  | height | string | number | 表格高度 |
48
48
  | tableProps | Record<string, any> | null | vxe-table和el-table的参数 |
49
49
  | expandOnClick | boolean | false | 点击行展开tree和expand表格 |
@@ -151,6 +151,8 @@ app.mount('#app')
151
151
  :table-props="{
152
152
  treeConfig: {
153
153
  childrenField: 'children',
154
+ // isChild: 'isChild', // 标识是否为子节点的字段名
155
+ // parentField: 'parent', // 标识父节点引用的字段名(用于shift多选)
154
156
  }
155
157
  }"
156
158
  default-expand-all