This commit is contained in:
杨鹏
2025-10-10 17:23:24 +08:00
parent 052aec9a89
commit 1aba303ed9
24 changed files with 68 additions and 70 deletions
+6 -5
View File
@@ -12,11 +12,12 @@ const sys = defineStore({
getters: {},
actions: {
setTheme(theme = '') {
if (theme === '') {
this.theme = app().template?.basic.theme || 'orange';
} else {
this.theme = theme;
}
// if (theme === '') {
// this.theme = app().template?.basic.theme || 'orange';
// } else {
// this.theme = theme;
// }
this.theme = 'purple'
},
},
persist: {