Skip to content

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

:art: https://ld246.com/article/1770132984152

Vanessaca931e64d4ad
diff --git a/app/src/search/util.ts b/app/src/search/util.ts
index 99f4c43499..a826a3e087 100644
--- a/app/src/search/util.ts
+++ b/app/src/search/util.ts
@@ -1166,6 +1166,9 @@ export const getArticle = (options: {
method: options.config?.method || null,
types: options.config?.types || null,
};
+ if (options.edit.protyle.options.render.title) {
+ options.edit.protyle.title.render(options.edit.protyle, response);
+ }
onGet({
updateReadonly: true,
data: getResponse,
@@ -1210,9 +1213,6 @@ export const getArticle = (options: {
}
}
});
- if (options.edit.protyle.options.render.title) {
- options.edit.protyle.title.render(options.edit.protyle, response);
- }
});
});
});