From e9bf86e9d09d4b921689f6c9149fbf9b816149d2 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 17 Sep 2023 22:49:10 +0800 Subject: [PATCH] :rotating_light: https://github.com/siyuan-note/siyuan/issues/9107 --- app/src/protyle/util/onGet.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts index 16a1ff3b1..dc034491a 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); }