Skip to content

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

:recycle: https://github.com/siyuan-note/siyuan/issues/5857

Vanessa50527e4bc6ce
diff --git a/app/src/protyle/util/compatibility.ts b/app/src/protyle/util/compatibility.ts
index b246e2c95d..30c2c04ddc 100644
--- a/app/src/protyle/util/compatibility.ts
+++ b/app/src/protyle/util/compatibility.ts
@@ -93,7 +93,7 @@ export const updateHotkeyTip = (hotkey: string) => {
".": ">",
}));
- let keys = [];
+ const keys = [];
if (hotkey.indexOf("⌘") > -1) keys.push(KEY_MAP.get("⌘"));
if (hotkey.indexOf("⇧") > -1) keys.push(KEY_MAP.get("⇧"));