ztxkui 3.0.5 → 3.0.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.
@@ -181,10 +181,10 @@ var TableEnhanceCell = memo(function (_a) {
181
181
  else if (type === 'inputNumber') {
182
182
  return (React.createElement(Form.Item, { className: "zt-table__enhance-cell", name: dataIndex },
183
183
  React.createElement(InputNumber, __assign({ autoComplete: "new-password", maxLength: 50 }, inputNumMaxMin, editableProps, inputNumberRangeTip, { disabled: disabledResult, onPressEnter: function (e) {
184
- editableProps.onPressEnter(e);
184
+ editableProps.onPressEnter && editableProps.onPressEnter(e);
185
185
  save({ maxResult: maxResult, minResult: minResult });
186
186
  }, onBlur: function (e) {
187
- editableProps.onBlur(e);
187
+ editableProps.onBlur && editableProps.onBlur(e);
188
188
  save({ maxResult: maxResult, minResult: minResult });
189
189
  }, onFocus: function (e) {
190
190
  editableProps.onFocus(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",