Browse Source

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

pull/6660/head
ming4762 6 months ago
committed by GitHub
parent
commit
8ac2db5b7c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      packages/@core/ui-kit/form-ui/src/form-render/form-field.vue

2
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(() => {

Loading…
Cancel
Save