fix(TagsView/index.vue): 调整获取主题变量的获取顺序
This commit is contained in:
@@ -10,7 +10,7 @@ import variables from '@/styles/element-variables.module.scss'
|
||||
export const useSettingStore = defineStore({
|
||||
id: "setting",
|
||||
state: (): SettingState => ({
|
||||
theme: variables.theme || localStorage.get("theme"),
|
||||
theme: localStorage.get("theme") || variables.theme ,
|
||||
showSettings: showSettings,
|
||||
tagsView: localStorage.get("tagsView") != null ? localStorage.get("tagsView") : tagsView,
|
||||
fixedHeader: fixedHeader,
|
||||
|
||||
Reference in New Issue
Block a user