@zat-design/sisyphus-react 3.5.5-beta.11 → 3.5.5-beta.12
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.
|
@@ -256,6 +256,9 @@ export var transformColumns = function transformColumns() {
|
|
|
256
256
|
var columnName = (item === null || item === void 0 ? void 0 : item.name) || dataIndex || key;
|
|
257
257
|
item.dataIndex = columnName;
|
|
258
258
|
item.key = columnName;
|
|
259
|
+
item.shouldCellUpdate = item.shouldCellUpdate || function (record, perRecord) {
|
|
260
|
+
return !isEqual(record, perRecord);
|
|
261
|
+
};
|
|
259
262
|
var required = isBoolean(item.required) ? item.required : false;
|
|
260
263
|
if (typeof item.required === 'function') {
|
|
261
264
|
var namePath = getNamePath(name, virtualKey);
|
|
@@ -260,6 +260,9 @@ var transformColumns = exports.transformColumns = function transformColumns() {
|
|
|
260
260
|
var columnName = (item === null || item === void 0 ? void 0 : item.name) || dataIndex || key;
|
|
261
261
|
item.dataIndex = columnName;
|
|
262
262
|
item.key = columnName;
|
|
263
|
+
item.shouldCellUpdate = item.shouldCellUpdate || function (record, perRecord) {
|
|
264
|
+
return !(0, _lodash.isEqual)(record, perRecord);
|
|
265
|
+
};
|
|
263
266
|
var required = (0, _lodash.isBoolean)(item.required) ? item.required : false;
|
|
264
267
|
if (typeof item.required === 'function') {
|
|
265
268
|
var namePath = (0, _tools.getNamePath)(name, virtualKey);
|