|
@@ -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, {
|