Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/9700

Vanessa686b3fc18fb3
diff --git a/app/src/search/util.ts b/app/src/search/util.ts
index c6e7a92ca8..f9250477ad 100644
--- a/app/src/search/util.ts
+++ b/app/src/search/util.ts
@@ -409,7 +409,7 @@ export const genSearch = (app: App, config: ISearchOption, element: Element, clo
event.preventDefault();
break;
} else if (target.classList.contains("b3-chip__close") && type === "remove-criteria") {
- const name = target.parentElement.innerText;
+ const name = target.parentElement.textContent;
fetchPost("/api/storage/removeCriterion", {name});
criteriaData.find((item, index) => {
if (item.name === name) {