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: fix https://github.com/siyuan-note/siyuan/issues/6901
Vanessab3b67832b072
diff --git a/app/src/search/spread.ts b/app/src/search/spread.tsindex adaf14253b..241258f5cf 100644--- a/app/src/search/spread.ts+++ b/app/src/search/spread.ts@@ -77,6 +77,10 @@ export const openSearch = async (hotkey: string, key?: string, notebookId?: stri} else if (window.siyuan.config.keymap.general.globalSearch.custom === hotkey) {hPath = localData.hPath || "";idPath = localData.idPath || [];+ // 历史原因,2.5.2 之前为 string https://github.com/siyuan-note/siyuan/issues/6902+ if (typeof idPath === "string") {+ idPath = [idPath];+ }}let range: Range;