mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
7faf981b69
commit
bcc0472ed0
1 changed files with 4 additions and 0 deletions
|
@ -863,6 +863,10 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, va
|
||||||
doOperations.push(...operations.doOperations);
|
doOperations.push(...operations.doOperations);
|
||||||
undoOperations.push(...operations.undoOperations);
|
undoOperations.push(...operations.undoOperations);
|
||||||
}
|
}
|
||||||
|
// formattedContent 在单元格渲染时没有用到,需对比保持一致
|
||||||
|
if (type === "date") {
|
||||||
|
cellValue.date.formattedContent= oldValue.date.formattedContent ;
|
||||||
|
}
|
||||||
if (objEquals(cellValue, oldValue)) {
|
if (objEquals(cellValue, oldValue)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue