vxe-table 3.4.3-beta.0 → 3.4.3
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.
package/lib/index.umd.js
CHANGED
|
@@ -12648,16 +12648,12 @@ var Methods = {
|
|
|
12648
12648
|
|
|
12649
12649
|
if (oRow && row) {
|
|
12650
12650
|
if (field) {
|
|
12651
|
-
|
|
12651
|
+
var newValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(record || row, field);
|
|
12652
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.set(row, field, newValue);
|
|
12653
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.set(oRow, field, newValue);
|
|
12652
12654
|
} else {
|
|
12653
|
-
|
|
12654
|
-
|
|
12655
|
-
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.clear(row, undefined);
|
|
12656
|
-
Object.assign(row, this.defineField(Object.assign({}, record)));
|
|
12657
|
-
this.cacheRowMap(true);
|
|
12658
|
-
} else {
|
|
12659
|
-
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.destructuring(oRow, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.clone(row, true));
|
|
12660
|
-
}
|
|
12655
|
+
var newRecord = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.clone(_objectSpread2({}, record), true);
|
|
12656
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.destructuring(oRow, Object.assign(row, newRecord));
|
|
12661
12657
|
}
|
|
12662
12658
|
}
|
|
12663
12659
|
|