mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 alt+点击两次报错
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user