This commit is contained in:
Vanessa 2022-06-07 21:05:06 +08:00
parent 0c7e5e8667
commit 6fc62d12ee
6 changed files with 14 additions and 14 deletions

View file

@ -108,12 +108,12 @@ export const initNavigationMenu = (liElement: HTMLElement) => {
label: window.siyuan.languages.export,
icon: "iconUpload",
click: () => {
const id = showMessage(window.siyuan.languages.exporting, -1);
const msgId = showMessage(window.siyuan.languages.exporting, -1);
fetchPost("/api/export/batchExportMd", {
notebook: notebookId,
path: "/"
}, response => {
hideMessage(id);
hideMessage(msgId);
window.open(response.data.zip);
});
}