提交 0d06abaf 编写于 作者: 郝先瑞

fix(TagsView/index.vue): 调整获取主题变量的获取顺序

上级 ec902a69
...@@ -10,7 +10,7 @@ import variables from '@/styles/element-variables.module.scss' ...@@ -10,7 +10,7 @@ import variables from '@/styles/element-variables.module.scss'
export const useSettingStore = defineStore({ export const useSettingStore = defineStore({
id: "setting", id: "setting",
state: (): SettingState => ({ state: (): SettingState => ({
theme: variables.theme || localStorage.get("theme"), theme: localStorage.get("theme") || variables.theme ,
showSettings: showSettings, showSettings: showSettings,
tagsView: localStorage.get("tagsView") != null ? localStorage.get("tagsView") : tagsView, tagsView: localStorage.get("tagsView") != null ? localStorage.get("tagsView") : tagsView,
fixedHeader: fixedHeader, fixedHeader: fixedHeader,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册