调整配置文件默认灰度不生效问题 (#1795)

修复:在默认配置config.json文件修改灰色模式后,启动项目后不生效问题。

---------

Co-authored-by: zsc1003 <11476303+zsc1003@user.noreply.gitee.com>
Co-authored-by: Isaacedvr1003 <152384462+Isaacedvr1003@users.noreply.github.com>
This commit is contained in:
PiexlMax(奇淼
2024-06-22 21:46:42 +08:00
committed by GitHub
parent f23cd22110
commit b628bd7769

View File

@@ -128,6 +128,7 @@ export const useAppStore = defineStore('app', () => {
toggleDarkModeAuto()
}
toggleGrey(config.grey)
return {
theme,