hy-virtual-tree 2.1.1 → 2.1.2

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.1.2
4
+
5
+ _2026-05-20_
6
+
7
+ (1)修复 调用setChecked方法时 checkStrictly配置 不生效问题
8
+
3
9
  ### 2.1.1
4
10
 
5
11
  _2026-05-16_
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* hy-virtual-tree v2.1.1 */
1
+ /* hy-virtual-tree v2.1.2 */
2
2
  import './svg_bundle.js';
3
3
  const isString = (e) => typeof e === 'string';
4
4
  const isNumber = (e) => typeof e === 'number';
@@ -8449,7 +8449,7 @@ function useCheck(props, instance) {
8449
8449
  if (!isBusiness || !props.business) {
8450
8450
  const node = treeNodeMap.get(key);
8451
8451
  if (node) {
8452
- toggleCheckbox(node, isChecked, false, true, true, isForce);
8452
+ toggleCheckbox(node, isChecked, false, true, false, isForce);
8453
8453
  }
8454
8454
  return;
8455
8455
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hy-virtual-tree",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",