@gmfe/react 2.14.1 → 2.14.2-beta.1

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.1",
3
+ "version": "2.14.2-beta.1",
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.1",
30
+ "@gmfe/locales": "^2.14.2-beta.1",
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": "76a8d0dba1fd4c1cf1ad2742bdc660c919164700"
38
+ "gitHead": "683111cad69cdc45d74f7e0b79c31495e1871afd"
39
39
  }
@@ -326,13 +326,13 @@ class Cascader extends React.Component {
326
326
  if (!filtrable) {
327
327
  return valueRender
328
328
  ? valueRender(value)
329
- : _.map(value, v => v.name).join(',')
329
+ : _.map(value, v => v?.name).join(',')
330
330
  }
331
331
 
332
332
  return filterInput === null
333
333
  ? valueRender
334
334
  ? valueRender(value)
335
- : _.map(value, v => v.name).join(',')
335
+ : _.map(value, v => v?.name).join(',')
336
336
  : filterInput
337
337
  }
338
338