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: https://github.com/siyuan-note/siyuan/issues/5144
Vanessafedfd9b3209e
diff --git a/app/src/util/newFile.ts b/app/src/util/newFile.tsindex 482638da08..e1455a1aa9 100644--- a/app/src/util/newFile.ts+++ b/app/src/util/newFile.ts@@ -58,12 +58,8 @@ export const newFile = (notebookId?: string, currentPath?: string, open?: booleatitle: data.data.name || window.siyuan.languages.untitled,md: "",}, () => {- if (open) {- if (isMobile()) {- openMobileFileById(id, true);- } else {- openFileById({id, hasContext: true, action: [Constants.CB_GET_HL]});- }+ if (open && !isMobile()) {+ openFileById({id, hasContext: true, action: [Constants.CB_GET_HL]});}});});