@douyinfe/semi-foundation 2.52.2 → 2.52.3
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/cascader/util.ts +1 -1
- package/lib/cjs/cascader/util.js +1 -1
- package/lib/es/cascader/util.js +1 -1
- package/package.json +3 -3
package/cascader/util.ts
CHANGED
|
@@ -60,7 +60,7 @@ function traverseDataNodes(treeNodes: any, callback: any) {
|
|
|
60
60
|
let item: any = null;
|
|
61
61
|
// Process node if is not root
|
|
62
62
|
if (node) {
|
|
63
|
-
const key = parent ? `${parent.key}${VALUE_SPLIT}${node.value}` : node.value
|
|
63
|
+
const key = parent ? `${parent.key}${VALUE_SPLIT}${node.value}` : `${node.value}`;
|
|
64
64
|
const pos = parent ? getPosition(parent.pos, ind) : `${ind}`;
|
|
65
65
|
item = {
|
|
66
66
|
data: { ...node },
|
package/lib/cjs/cascader/util.js
CHANGED
|
@@ -65,7 +65,7 @@ function traverseDataNodes(treeNodes, callback) {
|
|
|
65
65
|
let item = null;
|
|
66
66
|
// Process node if is not root
|
|
67
67
|
if (node) {
|
|
68
|
-
const key = parent ? `${parent.key}${_constants.VALUE_SPLIT}${node.value}` : node.value
|
|
68
|
+
const key = parent ? `${parent.key}${_constants.VALUE_SPLIT}${node.value}` : `${node.value}`;
|
|
69
69
|
const pos = parent ? getPosition(parent.pos, ind) : `${ind}`;
|
|
70
70
|
item = {
|
|
71
71
|
data: Object.assign({}, node),
|
package/lib/es/cascader/util.js
CHANGED
|
@@ -50,7 +50,7 @@ function traverseDataNodes(treeNodes, callback) {
|
|
|
50
50
|
let item = null;
|
|
51
51
|
// Process node if is not root
|
|
52
52
|
if (node) {
|
|
53
|
-
const key = parent ? `${parent.key}${VALUE_SPLIT}${node.value}` : node.value
|
|
53
|
+
const key = parent ? `${parent.key}${VALUE_SPLIT}${node.value}` : `${node.value}`;
|
|
54
54
|
const pos = parent ? getPosition(parent.pos, ind) : `${ind}`;
|
|
55
55
|
item = {
|
|
56
56
|
data: Object.assign({}, node),
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-foundation",
|
|
3
|
-
"version": "2.52.
|
|
3
|
+
"version": "2.52.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:lib": "node ./scripts/compileLib.js",
|
|
7
7
|
"prepublishOnly": "npm run build:lib"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@douyinfe/semi-animation": "2.52.
|
|
10
|
+
"@douyinfe/semi-animation": "2.52.3",
|
|
11
11
|
"async-validator": "^3.5.0",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"date-fns": "^2.29.3",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"*.scss",
|
|
24
24
|
"*.css"
|
|
25
25
|
],
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "5afe84d312e3360ccf514ab19d7e1e70517a4731",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
29
29
|
"@babel/preset-env": "^7.15.8",
|