qtsk-vue3 0.0.47 → 0.0.48

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.
@@ -2,7 +2,8 @@
2
2
  <el-tree
3
3
  ref="treeRef"
4
4
  style="max-width: 600px;padding-top: 4px;"
5
- :data="data"
5
+ :data="data"
6
+ v-bind="$attrs"
6
7
  :props="defaultProps"
7
8
  :show-checkbox="showCheckBox"
8
9
  default-expand-all
@@ -103,7 +104,8 @@ const handleOperations = (data, type) => {
103
104
  emits('handleTree', data, type)
104
105
  }
105
106
  defineExpose({
106
- getCheckedKeys
107
+ getCheckedKeys,
108
+ getTreeRef: () => treeRef.value
107
109
  })
108
110
  </script>
109
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qtsk-vue3",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "description": "vue3版组件库",
5
5
  "main": "./package/index.js",
6
6
  "scripts": {