mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 03:36:10 +01:00
🚨
This commit is contained in:
parent
b0e3efa774
commit
2c36af78bc
14 changed files with 25 additions and 26 deletions
|
|
@ -178,7 +178,7 @@ export const openFile = async (options: IOpenFileOptions) => {
|
|||
hasMatch = await ipcRenderer.invoke(Constants.SIYUAN_GET, {
|
||||
cmd: Constants.SIYUAN_OPEN_FILE,
|
||||
options: optionsClone,
|
||||
})
|
||||
});
|
||||
if (hasMatch) {
|
||||
if (options.afterOpen) {
|
||||
options.afterOpen();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue