@bit-sun/business-component 1.1.22 → 1.1.23
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/dist/index.esm.js
CHANGED
|
@@ -3269,7 +3269,7 @@ function commonFun(type, prefixUrl) {
|
|
|
3269
3269
|
var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
3270
3270
|
return {
|
|
3271
3271
|
title: treeDataItem[resKeyValue[1]],
|
|
3272
|
-
|
|
3272
|
+
value: treeDataItem[resKeyValue[0]],
|
|
3273
3273
|
parentId: treeDataItem.parent,
|
|
3274
3274
|
data: _objectSpread2({}, treeDataItem),
|
|
3275
3275
|
isLeaf: !haveChildren,
|
package/dist/index.js
CHANGED
|
@@ -3280,7 +3280,7 @@ function commonFun(type, prefixUrl) {
|
|
|
3280
3280
|
var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
3281
3281
|
return {
|
|
3282
3282
|
title: treeDataItem[resKeyValue[1]],
|
|
3283
|
-
|
|
3283
|
+
value: treeDataItem[resKeyValue[0]],
|
|
3284
3284
|
parentId: treeDataItem.parent,
|
|
3285
3285
|
data: _objectSpread2({}, treeDataItem),
|
|
3286
3286
|
isLeaf: !haveChildren,
|
package/package.json
CHANGED
|
@@ -100,7 +100,7 @@ export function commonFun (type?: string, prefixUrl: any) {
|
|
|
100
100
|
const haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
101
101
|
return {
|
|
102
102
|
title: treeDataItem[resKeyValue[1]],
|
|
103
|
-
|
|
103
|
+
value: treeDataItem[resKeyValue[0]],
|
|
104
104
|
parentId: treeDataItem.parent,
|
|
105
105
|
data: { ...treeDataItem },
|
|
106
106
|
isLeaf: !haveChildren,
|