Skip to content

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

:art: 支持合并子文档导出 Word/PDF https://github.com/siyuan-note/siyuan/issues/3219

Liang Dingdb131e7f1a84
diff --git a/app/src/util/onGetConfig.ts b/app/src/util/onGetConfig.ts
index 60680fffe0..cac6d6020e 100644
--- a/app/src/util/onGetConfig.ts
+++ b/app/src/util/onGetConfig.ts
@@ -375,7 +375,7 @@ const initWindow = () => {
localStorage.setItem(Constants.LOCAL_EXPORTPDF, JSON.stringify(Object.assign(ipcData.pdfOptions, {
removeAssets: ipcData.removeAssets,
keepFold: ipcData.keepFold,
- merge: ipcData.mergeSubdocs,
+ mergeSubdocs: ipcData.mergeSubdocs,
})));
try {
window.siyuan.printWin.webContents.printToPDF(ipcData.pdfOptions).then((pdfData) => {