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

模式切换必须手动刷新页面字体颜色才会改变 #441

Open
1 task
graytoowolf opened this issue Jul 14, 2022 · 3 comments
Open
1 task

模式切换必须手动刷新页面字体颜色才会改变 #441

graytoowolf opened this issue Jul 14, 2022 · 3 comments
Assignees

Comments

@graytoowolf
Copy link
Contributor

Blessing Skin 版本

6.0.2

PHP 版本

8.1

出现问题时所使用的浏览器

Chrome

您正在使用的 Web Server

Nginx

您正在使用宝塔吗?

出现了什么问题?

QQ截图20220714203312
模式切换必须手动刷新页面字体颜色才会改变

错误日志

No response

重现步骤

模式切换必须手动刷新页面字体颜色才会改变

@mochaaP
Copy link
Member

mochaaP commented Jul 14, 2022

已知問題。
修復的話,需要在 trigger 時把所有 isDarkMode 重新判斷。

或者我們把 dark mode 做成用 prop 傳遞(要改很多了)或者塞進 global state management。

Note: 圖表標題設定 https://echarts.apache.org/en/api.html#echartsInstance.setOption

@graytoowolf
Copy link
Contributor Author

插件管理 也有这个问题

@g-plane
Copy link
Member

g-plane commented Jul 15, 2022

会比较麻烦,简单的话可以在切换时自动刷新页面,就像切换语言那样。

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

No branches or pull requests

3 participants