An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/8727
Vanessa0cc3078cf203
diff --git a/app/src/menus/Menu.ts b/app/src/menus/Menu.tsindex 908ff23261..fe3fbe194f 100644--- a/app/src/menus/Menu.ts+++ b/app/src/menus/Menu.ts@@ -179,7 +179,10 @@ export class MenuItem {if (this.element.getAttribute("disabled")) {return;}- const keepOpen = options.click(this.element);+ let keepOpen = options.click(this.element);+ if (keepOpen instanceof Promise) {+ keepOpen = false;+ }event.preventDefault();event.stopImmediatePropagation();event.stopPropagation();