mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
This commit is contained in:
parent
64ae905921
commit
ff3cd4d4e9
21 changed files with 117 additions and 85 deletions
|
|
@ -108,12 +108,12 @@ export const initNavigationMenu = (liElement: HTMLElement) => {
|
|||
label: window.siyuan.languages.export,
|
||||
icon: "iconUpload",
|
||||
click: () => {
|
||||
showMessage(window.siyuan.languages.exporting, -1);
|
||||
const id = showMessage(window.siyuan.languages.exporting, -1);
|
||||
fetchPost("/api/export/batchExportMd", {
|
||||
notebook: notebookId,
|
||||
path: "/"
|
||||
}, response => {
|
||||
hideMessage();
|
||||
hideMessage(id);
|
||||
window.open(response.data.zip);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue