@kep-platform/basic-component 0.0.56 → 0.0.57
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/@types/index.d.ts +1 -1
- package/dist/Tree/TreeNode.js +3 -0
- package/package.json +3 -3
package/dist/@types/index.d.ts
CHANGED
package/dist/Tree/TreeNode.js
CHANGED
@@ -79,6 +79,9 @@ var groupTreeNodeByPropertyName = function groupTreeNodeByPropertyName(condition
|
|
79
79
|
var attribute = cond.attribute,
|
80
80
|
condition = cond.condition,
|
81
81
|
description = cond.description;
|
82
|
+
if (!condition) {
|
83
|
+
return description;
|
84
|
+
}
|
82
85
|
return condition(item[attribute]) ? "".concat(description, ":\u662F") : "".concat(description, ":\u5426");
|
83
86
|
}).join(' | ');
|
84
87
|
if (!acc[key]) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kep-platform/basic-component",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.57",
|
4
4
|
"description": "A react library developed with dumi",
|
5
5
|
"license": "MIT",
|
6
6
|
"module": "dist/index.js",
|
@@ -47,7 +47,7 @@
|
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
49
|
"@ant-design/icons": "^5.3.7",
|
50
|
-
"@kep-platform/hooks": "^0.0.
|
50
|
+
"@kep-platform/hooks": "^0.0.57",
|
51
51
|
"color": "^4.2.3",
|
52
52
|
"rc-pagination": "^4.1.0"
|
53
53
|
},
|
@@ -87,5 +87,5 @@
|
|
87
87
|
"authors": [
|
88
88
|
"less-step-jss 1599925910@qq.com"
|
89
89
|
],
|
90
|
-
"gitHead": "
|
90
|
+
"gitHead": "dbdddab5ad9f3286c9f67b0d98a54286ea6a52b6"
|
91
91
|
}
|