исправила копирование данных
This commit is contained in:
parent
73083153da
commit
562707f418
@ -42,7 +42,7 @@ export function setNewValueToData(data, colId, rowId, value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function updateCells(data, newRows) {
|
export function updateCells(data, newRows) {
|
||||||
const updatedRows = JSON.parse(JSON.stringify(data));
|
const updatedRows = structuredClone(data);
|
||||||
|
|
||||||
function deepMerge(target, source) {
|
function deepMerge(target, source) {
|
||||||
if (!source || typeof source !== "object") {
|
if (!source || typeof source !== "object") {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user