mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🎨 alt+点击两次报错
This commit is contained in:
parent
b439cd66f7
commit
3bd2debf4c
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ export const openFile = async (options: IOpenFileOptions) => {
|
|||
}
|
||||
wnd.showHeading();
|
||||
if (options.afterOpen) {
|
||||
options.afterOpen(createdTab.model);
|
||||
options.afterOpen(createdTab ? createdTab.model : undefined);
|
||||
}
|
||||
return createdTab;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue