ソースを参照

:bug: fix https://github.com/siyuan-note/siyuan/issues/5714

Vanessa 2 年 前
コミット
69460273e1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/src/util/globalShortcut.ts

+ 1 - 1
app/src/util/globalShortcut.ts

@@ -589,7 +589,7 @@ export const globalShortcut = () => {
             getAllTabs().find(item => {
                 if (item.headElement?.classList.contains("item--focus")) {
                     item.parent.removeTab(item.id);
-                    return;
+                    return true;
                 }
             });
             return;