@lemon-fe/kits 1.6.4 → 1.6.6
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.
|
@@ -136,6 +136,11 @@ function MicroLayout(props) {
|
|
|
136
136
|
height: '100%'
|
|
137
137
|
},
|
|
138
138
|
children: /*#__PURE__*/_jsx(ErrorBoundary, {
|
|
139
|
+
onError: function onError(error) {
|
|
140
|
+
setTimeout(function () {
|
|
141
|
+
throw error;
|
|
142
|
+
}, 0);
|
|
143
|
+
},
|
|
139
144
|
fallbackRender: function fallbackRender(_ref) {
|
|
140
145
|
var error = _ref.error,
|
|
141
146
|
resetErrorBoundary = _ref.resetErrorBoundary;
|
|
@@ -114,6 +114,11 @@ function SimpleLayout(props) {
|
|
|
114
114
|
height: '100%'
|
|
115
115
|
},
|
|
116
116
|
children: /*#__PURE__*/_jsx(ErrorBoundary, {
|
|
117
|
+
onError: function onError(error) {
|
|
118
|
+
setTimeout(function () {
|
|
119
|
+
throw error;
|
|
120
|
+
}, 0);
|
|
121
|
+
},
|
|
117
122
|
fallbackRender: function fallbackRender(_ref) {
|
|
118
123
|
var error = _ref.error,
|
|
119
124
|
resetErrorBoundary = _ref.resetErrorBoundary;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/kits",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.6",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@ant-design/icons": "^4.7.0",
|
|
27
|
-
"@lemon-fe/components": "^1.6.
|
|
28
|
-
"@lemon-fe/hooks": "^1.
|
|
27
|
+
"@lemon-fe/components": "^1.6.6",
|
|
28
|
+
"@lemon-fe/hooks": "^1.6.6",
|
|
29
29
|
"@lemon-fe/utils": "^1.4.15",
|
|
30
30
|
"ag-grid-community": "29.2.0",
|
|
31
31
|
"antd": "4.24.8",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"registry": "https://registry.npmjs.org"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "e188887c76431607140aec1982f3d50bf682761f"
|
|
51
51
|
}
|