🎨 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
Reference in a new issue