Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/6823

Vanessa442c675be095
diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts
index 894c4946ab..2f0f73b9a8 100644
--- a/app/src/util/globalShortcut.ts
+++ b/app/src/util/globalShortcut.ts
@@ -69,6 +69,7 @@ const switchDialogEvent = (event: MouseEvent, switchDialog: Dialog) => {
getAllTabs().find(item => {
if (item.id === currentId) {
item.parent.switchTab(item.headElement);
+ item.parent.showHeading();
return true;
}
});
@@ -328,6 +329,7 @@ export const globalShortcut = () => {
getAllTabs().find(item => {
if (item.id === currentId) {
item.parent.switchTab(item.headElement);
+ item.parent.showHeading();
return true;
}
});