From 274b6a3deb9ff41004ce5829703edd3d95571723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Thu, 14 Mar 2024 18:16:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(App.vue):=20:bug:=20=E6=B7=BB=E5=8A=A0=20si?= =?UTF-8?q?ze=20=E7=B1=BB=E5=9E=8B=E6=96=AD=E8=A8=80=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 6e368b8..c085bcf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,7 +23,9 @@ const appStore = useAppStore(); const settingsStore = useSettingsStore(); const locale = computed(() => appStore.locale); -const size = computed(() => appStore.size); +const size = computed( + () => appStore.size as "default" | "small" | "large" | undefined +); const watermarkEnabled = computed(() => settingsStore.watermarkEnabled); // 明亮/暗黑主题水印字体颜色适配