Skip to content

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

:rotating_light: https://github.com/siyuan-note/siyuan/issues/9107

Vanessae9bf86e9d09d
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts
index 16a1ff3b16..dc034491a3 100644
--- a/app/src/protyle/util/onGet.ts
+++ b/app/src/protyle/util/onGet.ts
@@ -92,8 +92,10 @@ export const onGet = (options: {
if (options.protyle.options.render.title) {
// 页签没有打开
options.protyle.title.render(options.protyle, response);
- } else if (options.protyle.options.render.background) {
- options.protyle.background.render(response.data.ial, options.protyle.block.rootID);
+ } else {
+ if (options.protyle.options.render.background) {
+ options.protyle.background.render(response.data.ial, options.protyle.block.rootID);
+ }
options.protyle.wysiwyg.renderCustom(response.data.ial);
}