Skip to content

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

:iphone:

Vanessa2fa11137a0f7
diff --git a/app/src/protyle/util/hotKey.ts b/app/src/protyle/util/hotKey.ts
index 45fe029c63..b5ae07a492 100644
--- a/app/src/protyle/util/hotKey.ts
+++ b/app/src/protyle/util/hotKey.ts
@@ -218,6 +218,9 @@ export const isIncludesHotKey = (hotKey: string) => {
};
export const updateControlAlt = () => {
+ if (!window.siyuan.config.keymap.general) {
+ return;
+ }
Object.keys(window.siyuan.config.keymap.general).forEach(key => {
if (["fileTree", "outline", "bookmark", "tag", "dailyNote", "inbox", "backlinks",
"graphView", "globalGraph", "riffCard"].includes(key)) {