mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
844c5ce688
commit
ec65118339
6 changed files with 56 additions and 52 deletions
|
|
@ -643,6 +643,7 @@ export const genImportMenu = (notebookId: string, pathString: string) => {
|
|||
filters = [{name: "Markdown", extensions: ["md", "markdown"]}];
|
||||
}
|
||||
const localPath = await ipcRenderer.invoke(Constants.SIYUAN_DIALOG, {
|
||||
type: "showOpenDialog",
|
||||
defaultPath: window.siyuan.config.system.homeDir,
|
||||
filters,
|
||||
properties: [isDoc ? "openFile" : "openDirectory"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue