Skip to content

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

:lipstick: av

Vanessaa0b10340196a
diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.ts
index bdcd4b1205..4311bc8062 100644
--- a/app/src/protyle/render/av/select.ts
+++ b/app/src/protyle/render/av/select.ts
@@ -377,8 +377,8 @@ export const addSelectColAndCell = (protyle: IProtyle, data: IAV, options: {
cellData = row.cells[cellIndex];
// 为空时 cellId 每次请求都不一致
cellData.id = options.cellElement.dataset.id;
- if (!cellData.value) {
- cellData.value = {mSelect:[]} as IAVCellValue;
+ if (!cellData.value || !cellData.value.mSelect) {
+ cellData.value = {mSelect: []} as IAVCellValue;
}
return true;
}