Skip to content

Commit

Permalink
🚨 #9107
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Sep 17, 2023
1 parent 3925d5d commit e9bf86e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/src/protyle/util/onGet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit e9bf86e

Please sign in to comment.