luocong2016
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
4 deletions
-
src/components/Form/src/components/FormItem.vue
|
|
|
@ -80,10 +80,14 @@ |
|
|
|
componentProps = componentProps({ schema, tableAction, formModel, formActionType }) ?? {}; |
|
|
|
} |
|
|
|
if (schema.component === 'Divider') { |
|
|
|
componentProps = Object.assign({ type: 'horizontal' }, componentProps, { |
|
|
|
orientation: 'left', |
|
|
|
plain: true, |
|
|
|
}); |
|
|
|
componentProps = Object.assign( |
|
|
|
{ type: 'horizontal' }, |
|
|
|
{ |
|
|
|
orientation: 'left', |
|
|
|
plain: true, |
|
|
|
}, |
|
|
|
componentProps, |
|
|
|
); |
|
|
|
} |
|
|
|
return componentProps as Recordable; |
|
|
|
}); |
|
|
|
|