Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://ld246.com/article/1707975507571

Vanessa4b66872eb0ed
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts
index 7adc25d38e..935ef806ee 100644
--- a/app/src/protyle/render/av/cell.ts
+++ b/app/src/protyle/render/av/cell.ts
@@ -752,7 +752,8 @@ export const dragFillCellsValue = (protyle: IProtyle, nodeElement: HTMLElement,
if (["rollup", "template", "created", "updated"].includes(item.type)) {
return;
}
- const data = originData[originKeys[index % originKeys.length]][cellIndex];
+ // https://ld246.com/article/1707975507571 数据库下拉填充数据后异常
+ const data = JSON.parse(JSON.stringify(originData[originKeys[index % originKeys.length]][cellIndex]));
data.id = item.id;
const keyID = item.colId;
if (data.type === "block") {