Skip to content

Commit e9bf86e

Browse files
committed
🚨 #9107
1 parent 3925d5d commit e9bf86e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/src/protyle/util/onGet.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ export const onGet = (options: {
9292
if (options.protyle.options.render.title) {
9393
// 页签没有打开
9494
options.protyle.title.render(options.protyle, response);
95-
} else if (options.protyle.options.render.background) {
96-
options.protyle.background.render(response.data.ial, options.protyle.block.rootID);
95+
} else {
96+
if (options.protyle.options.render.background) {
97+
options.protyle.background.render(response.data.ial, options.protyle.block.rootID);
98+
}
9799
options.protyle.wysiwyg.renderCustom(response.data.ial);
98100
}
99101

0 commit comments

Comments
 (0)