Browse Source

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

Daniel 7 months ago
parent
commit
9b17b6ea4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/config/exportConfig.ts

+ 1 - 1
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, {