hy-virtual-tree 2.0.14 → 2.0.15

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Changelog
2
2
 
3
+ ### 2.0.15
4
+
5
+ _2026-05-11_
6
+
7
+ (1)修复 默认展开 问题
8
+
3
9
  ### 2.0.14
4
10
 
5
11
  _2026-05-11_
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* hy-virtual-tree v2.0.14 */
1
+ /* hy-virtual-tree v2.0.15 */
2
2
  import './svg_bundle.js';
3
3
  const isString = (e) => typeof e === 'string';
4
4
  const isNumber = (e) => typeof e === 'number';
@@ -9689,6 +9689,7 @@ class VirtualTree {
9689
9689
  if (this._virtualScroll)
9690
9690
  return;
9691
9691
  this._tree = await this._createTree(config.data);
9692
+ this._renderHandler();
9692
9693
  this._flattenTree = this._genereateFlattenTree();
9693
9694
  const { checkedKeys, updateCheckedKeys, isIndeterminate, isChecked, toggleCheckbox, getChecked, afterNodeCheck, getCheckedKeys, getCheckedNodes, getCheckedBusinessNodes,
9694
9695
  // getHalfCheckedKeys,
@@ -10030,7 +10031,6 @@ class VirtualTree {
10030
10031
  // }
10031
10032
  }
10032
10033
  });
10033
- this._renderHandler();
10034
10034
  config.onLoad && config.onLoad();
10035
10035
  // @ts-ignore
10036
10036
  // 更新函数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hy-virtual-tree",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",