@gmfe/react 2.14.2-beta.2 → 2.14.2-beta.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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gmfe/react",
|
3
|
-
"version": "2.14.2-beta.
|
3
|
+
"version": "2.14.2-beta.3",
|
4
4
|
"description": "",
|
5
5
|
"author": "liyatang <liyatang@qq.com>",
|
6
6
|
"homepage": "https://github.com/gmfe/gmfe#readme",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
},
|
28
28
|
"dependencies": {
|
29
29
|
"@gm-common/tool": "^1.0.0",
|
30
|
-
"@gmfe/locales": "^2.14.2-beta.
|
30
|
+
"@gmfe/locales": "^2.14.2-beta.3",
|
31
31
|
"big.js": "^5.2.2",
|
32
32
|
"classnames": "^2.2.5",
|
33
33
|
"lodash": "^4.17.14",
|
@@ -35,5 +35,5 @@
|
|
35
35
|
"prop-types": "^15.7.2",
|
36
36
|
"react-window": "^1.8.5"
|
37
37
|
},
|
38
|
-
"gitHead": "
|
38
|
+
"gitHead": "fbd88a020d964c841d71b29238ebdb318bd6cf54"
|
39
39
|
}
|
@@ -223,7 +223,7 @@ class Cascader extends React.Component {
|
|
223
223
|
const match = _.find(i === 0 ? data : value[i - 1]?.children, val => {
|
224
224
|
return v === val.value
|
225
225
|
})
|
226
|
-
value.push(match)
|
226
|
+
match && value.push(match)
|
227
227
|
})
|
228
228
|
}
|
229
229
|
|
@@ -319,7 +319,7 @@ class Cascader extends React.Component {
|
|
319
319
|
const match = _.find(i === 0 ? data : value[i - 1]?.children, val => {
|
320
320
|
return v === val.value
|
321
321
|
})
|
322
|
-
value.push(match)
|
322
|
+
match && value.push(match)
|
323
323
|
})
|
324
324
|
}
|
325
325
|
|