@gmfe/react 2.13.1-beta.0 → 2.14.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.13.1-beta.0",
3
+ "version": "2.14.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.13.1-beta.0",
30
+ "@gmfe/locales": "^2.14.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": "cb5eed01310eb5348e18b3af1bd29eb35b7e6922"
38
+ "gitHead": "76a8d0dba1fd4c1cf1ad2742bdc660c919164700"
39
39
  }
@@ -13,6 +13,7 @@ const PopupContentConfirm = props => {
13
13
  onSave,
14
14
  className,
15
15
  children,
16
+ hideClose,
16
17
  ...rest
17
18
  } = props
18
19
 
@@ -23,9 +24,9 @@ const PopupContentConfirm = props => {
23
24
  >
24
25
  <div className='gm-popup-content-confirm-title-wrap'>
25
26
  <div className='gm-popup-content-confirm-title'>{title}</div>
26
- <div className='gm-popup-content-confirm-close' onClick={onCancel}>
27
+ {!hideClose && <div className='gm-popup-content-confirm-close' onClick={onCancel}>
27
28
  <SVGRemove />
28
- </div>
29
+ </div>}
29
30
  </div>
30
31
  <div className='gm-popup-content-confirm-content'>
31
32
  {children}
@@ -55,6 +56,7 @@ PopupContentConfirm.propTypes = {
55
56
  onDelete: PropTypes.func,
56
57
  onSave: PropTypes.func,
57
58
  className: PropTypes.string,
59
+ hideClose: PropTypes.bool,
58
60
  style: PropTypes.object
59
61
  }
60
62