.
This commit is contained in:
+6
-5
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user