An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: alt+点击两次报错
Vanessa3bd2debf4c2f
diff --git a/app/src/editor/util.ts b/app/src/editor/util.tsindex 1ff7da24da..f30062a433 100644--- a/app/src/editor/util.ts+++ b/app/src/editor/util.ts@@ -276,7 +276,7 @@ export const openFile = async (options: IOpenFileOptions) => {}wnd.showHeading();if (options.afterOpen) {- options.afterOpen(createdTab.model);+ options.afterOpen(createdTab ? createdTab.model : undefined);}return createdTab;}