소스 검색

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