@chaoswise/ui 2.3.11 → 2.3.13
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/lib/CWTree/index.js
CHANGED
|
@@ -118,6 +118,9 @@ function CWTree(_ref) {
|
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
var _treeData = useMemo(function () {
|
|
121
|
+
if (!treeData) {
|
|
122
|
+
return [];
|
|
123
|
+
}
|
|
121
124
|
return createTree(treeData, searchValue, caseSensitive, rest.checkable);
|
|
122
125
|
}, [searchHighlight, treeData, searchValue, rest.checkable, caseSensitive]);
|
|
123
126
|
function buildMenu(array) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chaoswise/ui",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.13",
|
|
4
4
|
"description": "公共UI库",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -140,5 +140,5 @@
|
|
|
140
140
|
"access": "public"
|
|
141
141
|
},
|
|
142
142
|
"license": "MIT",
|
|
143
|
-
"gitHead": "
|
|
143
|
+
"gitHead": "c8dd2423ea998a23ce5c4623d13f6832dd0e25dc"
|
|
144
144
|
}
|