ztxkui 4.2.18-45 → 4.2.18-46

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.
@@ -913,7 +913,8 @@ function EnhanceSelect(_a) {
913
913
  }
914
914
  }
915
915
  }
916
- onChange && onChange(__value, option, currentData);
916
+ var newOption = __assign(__assign({}, option), { title: (currentData === null || currentData === void 0 ? void 0 : currentData[titleKey]) ? currentData === null || currentData === void 0 ? void 0 : currentData[titleKey] : option.title });
917
+ onChange && onChange(__value, newOption, currentData);
917
918
  }
918
919
  else {
919
920
  onChange && onChange(value, option);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "4.2.18-45",
3
+ "version": "4.2.18-46",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",