mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 23:38:49 +01:00
This commit is contained in:
parent
e8710da689
commit
dc448a9b45
1 changed files with 1 additions and 1 deletions
|
|
@ -516,7 +516,7 @@ export const JSONToLayout = (app: App, isStart: boolean) => {
|
|||
}
|
||||
// 移除没有数据的页签 https://github.com/siyuan-note/siyuan/issues/13390
|
||||
removedTabs.forEach(item => {
|
||||
item.parent.removeTab(item.id);
|
||||
item.parent.removeTab(item.id, false, false, false);
|
||||
});
|
||||
}
|
||||
// 需放在 tab.parent.switchTab 后,否则当前 tab 永远为最后一个
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue