hy-virtual-tree 1.1.37 → 1.1.38
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 +8 -1
- package/dist/index.js +4 -0
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -2491,6 +2491,10 @@ class VirtualTree {
|
|
|
2491
2491
|
/** 销毁组件 */
|
|
2492
2492
|
destroy = () => {
|
|
2493
2493
|
this._el = null;
|
|
2494
|
+
for (const $destroy of this._destroyDomSet) {
|
|
2495
|
+
$destroy && $destroy();
|
|
2496
|
+
}
|
|
2497
|
+
this._destroyDomSet.clear();
|
|
2494
2498
|
this.setData([]);
|
|
2495
2499
|
this.setCheckedKeys && this.setCheckedKeys([]);
|
|
2496
2500
|
this._expandedKeySet = new Set();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hy-virtual-tree",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.38",
|
|
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",
|