mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-01 10:20:16 +01:00
🎨 https://github.com/siyuan-note/siyuan/issues/9368 isFullScreen
This commit is contained in:
parent
ec65118339
commit
b869fd1d9d
8 changed files with 29 additions and 18 deletions
|
|
@ -186,8 +186,8 @@ export const exportConfig = {
|
|||
window.location.href = response.data.zip;
|
||||
});
|
||||
/// #else
|
||||
const filePaths = await ipcRenderer.invoke(Constants.SIYUAN_DIALOG,{
|
||||
type: "showOpenDialogSync",
|
||||
const filePaths = await ipcRenderer.invoke(Constants.SIYUAN_GET,{
|
||||
cmd: "showOpenDialogSync",
|
||||
title: window.siyuan.languages.export + " " + "Data",
|
||||
properties: ["createDirectory", "openDirectory"],
|
||||
});
|
||||
|
|
@ -211,8 +211,8 @@ export const exportConfig = {
|
|||
});
|
||||
const pandocBinElement = exportConfig.element.querySelector("#pandocBin") as HTMLInputElement;
|
||||
pandocBinElement.addEventListener("click", async () => {
|
||||
const localPath = await ipcRenderer.invoke(Constants.SIYUAN_DIALOG,{
|
||||
type: "showOpenDialog",
|
||||
const localPath = await ipcRenderer.invoke(Constants.SIYUAN_GET,{
|
||||
cmd: "showOpenDialog",
|
||||
defaultPath: window.siyuan.config.system.homeDir,
|
||||
properties: ["openFile"],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue