浏览代码

fix: cache type error

xingyu4j 2 年之前
父节点
当前提交
b908076a8b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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