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/11233
Vanessad26e78f9d138
diff --git a/app/src/protyle/render/av/relation.ts b/app/src/protyle/render/av/relation.tsindex bafcd86296..9af5424aab 100644--- a/app/src/protyle/render/av/relation.ts+++ b/app/src/protyle/render/av/relation.ts@@ -9,8 +9,11 @@ import {updateAttrViewCellAnimation} from "./action";import {focusBlock} from "../../util/selection";import {setPosition} from "../../../util/setPosition";-const genSearchList = (element: Element, keyword: string, avId: string, excludes = true, cb?: () => void) => {- fetchPost("/api/av/searchAttributeView", {keyword, excludes: excludes ? [avId] : undefined}, (response) => {+const genSearchList = (element: Element, keyword: string, avId?: string, excludes = true, cb?: () => void) => {+ fetchPost("/api/av/searchAttributeView", {+ keyword,+ excludes: (excludes && avId) ? [avId] : undefined+ }, (response) => {let html = "";response.data.results.forEach((item: {avID: string