소스 검색

Fix: Default currentSize

Vladimir 1 년 전
부모
커밋
af583c71b0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/store/modules/app.ts

+ 1 - 1
src/store/modules/app.ts

@@ -63,7 +63,7 @@ export const useAppStore = defineStore('app', {
 
       layout: getStorage('layout') || 'classic', // layout布局
       isDark: getStorage('isDark'), // 是否是暗黑模式
-      currentSize: getStorage('default') || 'default', // 组件尺寸
+      currentSize: getStorage('currentSize') || 'default', // 组件尺寸
       theme: getStorage('theme') || {
         // 主题色
         elColorPrimary: '#409eff',