-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: saving settings in theme preview returns to homepage (#6447)
#### What type of PR is this? /kind bug /area ui /milestone 2.19.x #### What this PR does / why we need it: 此 PR 将主题预览及文章预览的 `iframe` 由 srcdoc 改为使用 src 加载。用于解决在主题预览时,如果点击保存设置,会导致主题端页面跳转至首页。 #### How to test it? 1. 打开主题预览界面。 2. 打开非首页的页面。 3. 点击保存配置。查看此时刷新页面后是否不再回到首页。 同时需要测试 #4047 中的场景是否还会再发生。 #### Which issue(s) this PR fixes: Fixes #6371 #### Does this PR introduce a user-facing change? ```release-note 解决预览主题时保存设置,页面会跳转至首页的问题。 ```
- Loading branch information
Showing
2 changed files
with
13 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters