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
|
-
|
|
384
|
-
|
|
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
|
});
|