Explorar o código

fix: cache type error

xingyu4j %!s(int64=2) %!d(string=hai) anos
pai
achega
b908076a8b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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