Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

切换同一种外观模式时主题没有清除 js 残留 #5988

Closed
Vanessa219 opened this issue Sep 27, 2022 · 3 comments
Closed

切换同一种外观模式时主题没有清除 js 残留 #5988

Vanessa219 opened this issue Sep 27, 2022 · 3 comments
Assignees
Labels
Milestone

Comments

@Vanessa219
Copy link
Member

https://ld246.com/article/1664271515327?r=88250

@88250 88250 changed the title 切换同一种色系的主题没有清除 js 残留 切换同一种外观模式时主题没有清除 js 残留 Sep 27, 2022
@88250 88250 added the Bug label Sep 27, 2022
@88250 88250 added this to the 2.2.3 milestone Sep 27, 2022
Vanessa219 added a commit that referenced this issue Sep 27, 2022
Vanessa219 added a commit that referenced this issue Sep 27, 2022
@Zuoqiu-Yingyi
Copy link
Contributor

Zuoqiu-Yingyi commented Oct 17, 2022

@Vanessa219 该问题在 v.4.1 中复现(使用右上角的主题切换按钮)

@Vanessa219
Copy link
Member Author

无法重现,麻烦说一下主题和操作步骤。
PS 右上角是切换不同外观模式,无法切换同一种模式下的不同主题。

@Zuoqiu-Yingyi
Copy link
Contributor

无法重现,麻烦说一下主题和操作步骤。 PS 右上角是切换不同外观模式,无法切换同一种模式下的不同主题。

哦哦, 没事了, 虽然没有 theme.js 的主题也会加载一个空的 theme.js 文件, 但是由于该文件为空, 因此切换至有 theme.js 的主题无需重载页面😂
PS: 右上角切换是指深浅两种主题中一款有 theme.js, 另一款无 theme.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants