ztxkui 4.2.18-28 → 4.2.18-29

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.
@@ -374,11 +374,12 @@ var TableEnhanceCell = function (_a) {
374
374
  // e?.nativeEvent?.stopImmediatePropagation?.();
375
375
  // }}
376
376
  onChange: function (e) {
377
+ var _a, _b, _c;
377
378
  setVal(e.target.value);
378
379
  valueRef.current[dataIndex] = e.target.value;
379
380
  removeErrorClass();
380
- if (!e.target.value) {
381
- e.target.focus();
381
+ if (!((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.value)) {
382
+ (_c = (_b = e === null || e === void 0 ? void 0 : e.target) === null || _b === void 0 ? void 0 : _b.focus) === null || _c === void 0 ? void 0 : _c.call(_b);
382
383
  }
383
384
  }, allowClear: true })));
384
385
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "4.2.18-28",
3
+ "version": "4.2.18-29",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",