hy-virtual-tree 2.1.0 → 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 +12 -0
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hy-virtual-tree v2.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,
|
|
8452
|
+
toggleCheckbox(node, isChecked, false, true, false, isForce);
|
|
8453
8453
|
}
|
|
8454
8454
|
return;
|
|
8455
8455
|
}
|
|
@@ -10435,6 +10435,7 @@ class VirtualTree {
|
|
|
10435
10435
|
}
|
|
10436
10436
|
this._hiddenExpandIconKeySet = hiddenExpandIconKeySet;
|
|
10437
10437
|
this._hiddenNodeKeySet = hiddenNodeKeySet;
|
|
10438
|
+
this._isRenderInitial = false;
|
|
10438
10439
|
this._isForceHiddenExpandIcon = isForceHiddenExpandIcon;
|
|
10439
10440
|
this._updateCheckedKeys();
|
|
10440
10441
|
this._refreshVirtualScroll();
|