Skip to content

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

:bug: Cannot export Data on mobile https://github.com/siyuan-note/siyuan/issues/13565

Daniel9b17b6ea4f71
diff --git a/app/src/config/exportConfig.ts b/app/src/config/exportConfig.ts
index 80575209ca..6cc1b3b4c1 100644
--- a/app/src/config/exportConfig.ts
+++ b/app/src/config/exportConfig.ts
@@ -257,7 +257,7 @@ export const exportConfig = {
exportConfig.element.querySelector("#exportData").addEventListener("click", async () => {
/// #if BROWSER
fetchPost("/api/export/exportData", {}, response => {
- window.location.href = response.data.zip;
+ openByMobile(response.data.zip);
});
/// #else
const result = await ipcRenderer.invoke(Constants.SIYUAN_GET, {