fix: 表单组件和面板组件style设置细节完善 (#5992)

* fix(InputImage): 细节调整

* fix: 统一组件style属性ts校验格式

* fix: 表单组件和面板组件style设置细节完善
This commit is contained in:
刘丹 2022-12-28 17:35:43 +08:00 committed by GitHub
parent 8c7e3cbc74
commit 4388f4068e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -1733,6 +1733,7 @@ export default class Form extends React.Component<FormProps, object> {
actionsClassName,
bodyClassName,
classnames: cx,
style,
affixFooter,
lazyLoad,
translate: __,
@ -1750,6 +1751,7 @@ export default class Form extends React.Component<FormProps, object> {
},
{
className: cx(panelClassName, 'Panel--form'),
style: style,
formStore: this.props.store,
children: body,
actions: this.buildActions(),

View File

@ -160,7 +160,6 @@ export default class ButtonGroupControl extends React.Component<
},
className
)}
style={style}
>
{body.length ? (
body

View File

@ -179,6 +179,7 @@ export default class Panel extends React.Component<PanelProps> {
const {
type,
className,
style,
data,
header,
body,