mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
fix: 表单组件和面板组件style设置细节完善 (#5992)
* fix(InputImage): 细节调整 * fix: 统一组件style属性ts校验格式 * fix: 表单组件和面板组件style设置细节完善
This commit is contained in:
parent
8c7e3cbc74
commit
4388f4068e
@ -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(),
|
||||
|
@ -160,7 +160,6 @@ export default class ButtonGroupControl extends React.Component<
|
||||
},
|
||||
className
|
||||
)}
|
||||
style={style}
|
||||
>
|
||||
{body.length ? (
|
||||
body
|
||||
|
@ -179,6 +179,7 @@ export default class Panel extends React.Component<PanelProps> {
|
||||
const {
|
||||
type,
|
||||
className,
|
||||
style,
|
||||
data,
|
||||
header,
|
||||
body,
|
||||
|
Loading…
Reference in New Issue
Block a user