fix(App.vue): 🐛 添加 size 类型断言修复类型报错
This commit is contained in:
parent
b6adbdb21a
commit
274b6a3deb
|
|
@ -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);
|
||||
|
||||
// 明亮/暗黑主题水印字体颜色适配
|
||||
|
|
|
|||
Loading…
Reference in New Issue