From 9b17b6ea4f71d8ad48874e60158c8a043de1f58b Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 21 Dec 2024 10:12:07 +0800 Subject: [PATCH] :bug: Cannot export Data on mobile https://github.com/siyuan-note/siyuan/issues/13565 --- app/src/config/exportConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/config/exportConfig.ts b/app/src/config/exportConfig.ts index 80575209c..6cc1b3b4c 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, {