Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/16152

Vanessac2d34077890a
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index 8206ce1fd9..1d5ff61312 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -628,7 +628,7 @@ const getExportPath = (option: IExportOptions, removeAssets?: boolean, mergeSubd
}
afterExport(exportResponse.data.path, msgId);
} else {
- onExport(exportResponse, savePath, option, removeAssets, msgId);
+ onExport(exportResponse, savePath, option, msgId);
}
});
}
@@ -636,7 +636,7 @@ const getExportPath = (option: IExportOptions, removeAssets?: boolean, mergeSubd
};
/// #endif
-export const onExport = async (data: IWebSocketData, filePath: string, exportOption: IExportOptions, removeAssets?: boolean, msgId?: string) => {
+export const onExport = async (data: IWebSocketData, filePath: string, exportOption: IExportOptions, msgId?: string) => {
let themeName = window.siyuan.config.appearance.themeLight;
let mode = 0;
if (["html", "htmlmd"].includes(exportOption.type) && window.siyuan.config.appearance.mode === 1) {