fix(App.vue): 🐛 添加 size 类型断言修复类型报错

This commit is contained in:
郝先瑞 2024-03-14 18:16:57 +08:00
parent b6adbdb21a
commit 274b6a3deb
1 changed files with 3 additions and 1 deletions

View File

@ -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);
// /