fix: fix the issue of VbenForm compact reactive failure (#6654)

This commit is contained in:
ming4762
2025-08-19 16:46:14 +08:00
committed by GitHub
parent a441dcebae
commit 8ac2db5b7c

View File

@@ -59,7 +59,7 @@ const values = useFormValues();
const errors = useFieldError(fieldName);
const fieldComponentRef = useTemplateRef<HTMLInputElement>('fieldComponentRef');
const formApi = formRenderProps.form;
const compact = formRenderProps.compact;
const compact = computed(() => formRenderProps.compact);
const isInValid = computed(() => errors.value?.length > 0);
const FieldComponent = computed(() => {