ztxkui 2.9.5 → 2.9.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.
@@ -380,8 +380,9 @@ function EnhanceSelect(_a) {
380
380
  else {
381
381
  // 找到了,需要替换
382
382
  var newItem = __assign({}, item);
383
- Reflect.deleteProperty(newItem, dataKey);
384
- Reflect.deleteProperty(newItem, titleKey);
383
+ if (!newItem[titleKey]) {
384
+ Reflect.deleteProperty(newItem, titleKey);
385
+ }
385
386
  resultData.splice(index, 1, __assign(__assign({}, resultData[index]), newItem));
386
387
  }
387
388
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "2.9.5",
3
+ "version": "2.9.6",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",