Vben
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
0 deletions
-
packages/@core/ui-kit/form-ui/src/form-render/form-field.vue
|
|
|
@ -238,6 +238,12 @@ function createComponentProps(slotProps: Record<string, any>) { |
|
|
|
...slotProps.componentField, |
|
|
|
...computedProps.value, |
|
|
|
...bindEvents, |
|
|
|
...(Reflect.has(computedProps.value, 'onChange') |
|
|
|
? { onChange: computedProps.value.onChange } |
|
|
|
: {}), |
|
|
|
...(Reflect.has(computedProps.value, 'onInput') |
|
|
|
? { onInput: computedProps.value.onInput } |
|
|
|
: {}), |
|
|
|
}; |
|
|
|
|
|
|
|
return binds; |
|
|
|
|