Browse Source

fix: cache type error

xingyu4j 2 years ago
parent
commit
b908076a8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      yudao-ui-admin-vue3/src/store/modules/app.ts

+ 1 - 1
yudao-ui-admin-vue3/src/store/modules/app.ts

@@ -223,7 +223,7 @@ export const useAppStore = defineStore('app', {
         return
       }
       this.layout = layout
-      wsCache.set(CACHE_KEY.THEME, this.layout)
+      wsCache.set(CACHE_KEY.LAYOUT, this.layout)
     },
     setTitle(title: string) {
       this.title = title