Browse Source
fix: fix the issue of `VbenForm` `compact` reactive failure (#6654)
pull/6660/head
ming4762
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
packages/@core/ui-kit/form-ui/src/form-render/form-field.vue
|
|
|
@ -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(() => { |
|
|
|
|