mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
🐛 删除已打开页签报错
This commit is contained in:
parent
c358f8f8ee
commit
5acdc1f3c7
4 changed files with 9 additions and 9 deletions
|
|
@ -34,7 +34,7 @@ export const lockFile = (id: string) => {
|
|||
/// #if !MOBILE
|
||||
getAllModels().editor.find((item) => {
|
||||
if (item.editor.protyle.block.rootID === id) {
|
||||
item.parent.parent.removeTab(item.parent.id);
|
||||
item.parent.parent.removeTab(item.parent.id, false, false);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue