From 9157a6e6e61bb6087e26129ad8f3e2c601d96954 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 20 Apr 2024 23:09:34 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11093 --- app/src/protyle/render/av/relation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/relation.ts b/app/src/protyle/render/av/relation.ts index 09138161d..314dac800 100644 --- a/app/src/protyle/render/av/relation.ts +++ b/app/src/protyle/render/av/relation.ts @@ -10,7 +10,7 @@ import {focusBlock} from "../../util/selection"; import {setPosition} from "../../../util/setPosition"; const genSearchList = (element: Element, keyword: string, avId: string, cb?: () => void) => { - fetchPost("/api/av/searchAttributeView", {keyword}, (response) => { + fetchPost("/api/av/searchAttributeView", {keyword, excludes: [avId]}, (response) => { let html = ""; response.data.results.forEach((item: { avID: string