hy-virtual-tree 1.1.47 → 1.1.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.
- package/CHANGELOG.md +7 -0
- package/dist/index.js +5 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -2719,7 +2719,9 @@ class VirtualTree {
|
|
|
2719
2719
|
this._refreshVirtualScroll();
|
|
2720
2720
|
}
|
|
2721
2721
|
}
|
|
2722
|
-
catch {
|
|
2722
|
+
catch (err) {
|
|
2723
|
+
console.error(err);
|
|
2724
|
+
}
|
|
2723
2725
|
};
|
|
2724
2726
|
nodeContainer.addEventListener('mousedown', (e) => {
|
|
2725
2727
|
isSelecting = false;
|
|
@@ -2774,7 +2776,8 @@ class VirtualTree {
|
|
|
2774
2776
|
toggleCheckbox(item, !(isChecked(item) || isIndeterminate(item)), true, true, true);
|
|
2775
2777
|
this.refresh();
|
|
2776
2778
|
}
|
|
2777
|
-
catch {
|
|
2779
|
+
catch (err) {
|
|
2780
|
+
console.error(err);
|
|
2778
2781
|
}
|
|
2779
2782
|
});
|
|
2780
2783
|
// 鼠标右键点击事件
|