From af583c71b0d1760ba4ed4cfa12458820c3f4db52 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Sun, 22 Oct 2023 09:41:43 +0300 Subject: [PATCH] Fix: Default currentSize --- src/store/modules/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/app.ts b/src/store/modules/app.ts index 3247708ab..8e7858c23 100644 --- a/src/store/modules/app.ts +++ b/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',