hy-virtual-tree 1.1.37 → 1.1.39
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 +15 -1
- package/dist/index.js +7 -0
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
+
### 1.1.39
|
|
4
|
+
|
|
5
|
+
_2025-10-24_
|
|
6
|
+
|
|
7
|
+
- 扩展[VirtualTree] 功能
|
|
8
|
+
(1)修复虚拟树卸载时没有清除数据问题
|
|
9
|
+
|
|
10
|
+
### 1.1.38
|
|
11
|
+
|
|
12
|
+
_2025-10-24_
|
|
13
|
+
|
|
14
|
+
- 扩展[VirtualTree] 功能
|
|
15
|
+
(1)修复虚拟树卸载时没有清除元素问题
|
|
16
|
+
|
|
3
17
|
### 1.1.37
|
|
4
18
|
|
|
5
|
-
_2025-
|
|
19
|
+
_2025-10-11_
|
|
6
20
|
|
|
7
21
|
- 扩展[VirtualTree] 功能
|
|
8
22
|
(1)修复更新设备数据时,统计数据出错问题
|
package/dist/index.js
CHANGED
|
@@ -2372,6 +2372,10 @@ class VirtualTree {
|
|
|
2372
2372
|
Object.assign(this._tree, tree);
|
|
2373
2373
|
this._hiddenExpandIconKeySet = new Set();
|
|
2374
2374
|
this._hiddenNodeKeySet = new Set();
|
|
2375
|
+
for (const $destroy of this._destroyDomSet) {
|
|
2376
|
+
$destroy && $destroy();
|
|
2377
|
+
}
|
|
2378
|
+
this._destroyDomSet.clear();
|
|
2375
2379
|
this._isForceHiddenExpandIcon = undefined;
|
|
2376
2380
|
this._updateCheckedKeys();
|
|
2377
2381
|
this._refreshVirtualScroll();
|
|
@@ -2497,6 +2501,9 @@ class VirtualTree {
|
|
|
2497
2501
|
this._virtualScroll && this._virtualScroll.destroy();
|
|
2498
2502
|
this._virtualScroll = null;
|
|
2499
2503
|
this._isDestroy = true;
|
|
2504
|
+
this._virtualScroll = null;
|
|
2505
|
+
this._business = undefined;
|
|
2506
|
+
this._businessConfig = undefined;
|
|
2500
2507
|
};
|
|
2501
2508
|
}
|
|
2502
2509
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hy-virtual-tree",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.39",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
".": "./dist/index.js",
|
|
19
19
|
"./style": "./dist/index.css"
|
|
20
20
|
},
|
|
21
|
-
"dependencies": {
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"vue-router": "^4.6.3"
|
|
23
|
+
},
|
|
22
24
|
"devDependencies": {
|
|
23
25
|
"@babel/core": "^7.28.0",
|
|
24
26
|
"@babel/preset-env": "^7.28.0",
|