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); }