fix: 修复初始值使用错误

This commit is contained in:
2024-05-19 13:55:39 +08:00
parent f8ded4b491
commit fd55ad4228
12 changed files with 14 additions and 68 deletions

View File

@@ -142,10 +142,10 @@ const rules: FormInstance['rules'] = {
}
const { form } = useForm({
SITE_FAVICON: '',
SITE_LOGO: '',
SITE_TITLE: '',
SITE_COPYRIGHT: ''
SITE_FAVICON: undefined,
SITE_LOGO: undefined,
SITE_TITLE: undefined,
SITE_COPYRIGHT: undefined
})
const siteFavicon = ref<OptionResp>()