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

修复sys_theme被覆盖问题 #38

Merged
merged 1 commit into from
Mar 13, 2023
Merged

修复sys_theme被覆盖问题 #38

merged 1 commit into from
Mar 13, 2023

Conversation

qywk99
Copy link
Collaborator

@qywk99 qywk99 commented Mar 13, 2023

问题复现步骤:
①在config/ColorUI.js配置config.theme为light,此时主题为light ②通过ui-change-theme把主题切换为dark,此时主题为dark
③刷新一下页面,storage的sys_theme被覆盖为light,$cuConfig.theme为dark ④再次刷新一下页面,storage的sys_theme为light,$cuConfig.theme为light

问题复现步骤:
①在config/ColorUI.js配置config.theme为light,此时主题为light
②通过ui-change-theme把主题切换为dark,此时主题为dark
③刷新一下页面,storage的sys_theme被覆盖为light,$cuConfig.theme为dark
④再次刷新一下页面,storage的sys_theme为light,$cuConfig.theme为light
@iZaiZaiA iZaiZaiA merged commit cde28c9 into Color-UI:main Mar 13, 2023
@iZaiZaiA
Copy link
Member

感谢

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

Successfully merging this pull request may close these issues.

2 participants