This commit is contained in:
Vanessa 2023-01-28 00:45:18 +08:00
parent bd2b35320f
commit 8176ba40a8
4 changed files with 10 additions and 10 deletions

View file

@ -26,4 +26,4 @@ export const openNewWindow = (tab: Tab) => {
layoutToJSON(tab, json);
win.loadURL(`${window.location.protocol}//${window.location.host}/stage/build/app/window.html?v=${Constants.SIYUAN_VERSION}&json=${JSON.stringify(json)}`);
tab.parent.removeTab(tab.id);
}
};