mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
This commit is contained in:
parent
64ae905921
commit
ff3cd4d4e9
21 changed files with 117 additions and 85 deletions
|
|
@ -5,7 +5,7 @@ import {shell} from "electron";
|
|||
import * as path from "path";
|
||||
|
||||
export const afterExport = (exportPath: string) => {
|
||||
showMessage(`<div class="fn__flex">
|
||||
const id = showMessage(`<div class="fn__flex">
|
||||
<div class="fn__flex-center">${window.siyuan.languages.exported}${escapeHtml(exportPath)}</div>
|
||||
<div class="fn__space"></div>
|
||||
<div class="fn__space"></div>
|
||||
|
|
@ -13,7 +13,7 @@ export const afterExport = (exportPath: string) => {
|
|||
</div>`, 6000);
|
||||
document.querySelector("#message button").addEventListener("click", () => {
|
||||
shell.showItemInFolder(path.join(exportPath));
|
||||
hideMessage();
|
||||
hideMessage(id);
|
||||
});
|
||||
};
|
||||
/// #endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue