mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +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,
|
actionsClassName,
|
||||||
bodyClassName,
|
bodyClassName,
|
||||||
classnames: cx,
|
classnames: cx,
|
||||||
|
style,
|
||||||
affixFooter,
|
affixFooter,
|
||||||
lazyLoad,
|
lazyLoad,
|
||||||
translate: __,
|
translate: __,
|
||||||
@ -1750,6 +1751,7 @@ export default class Form extends React.Component<FormProps, object> {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
className: cx(panelClassName, 'Panel--form'),
|
className: cx(panelClassName, 'Panel--form'),
|
||||||
|
style: style,
|
||||||
formStore: this.props.store,
|
formStore: this.props.store,
|
||||||
children: body,
|
children: body,
|
||||||
actions: this.buildActions(),
|
actions: this.buildActions(),
|
||||||
|
@ -160,7 +160,6 @@ export default class ButtonGroupControl extends React.Component<
|
|||||||
},
|
},
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
style={style}
|
|
||||||
>
|
>
|
||||||
{body.length ? (
|
{body.length ? (
|
||||||
body
|
body
|
||||||
|
@ -179,6 +179,7 @@ export default class Panel extends React.Component<PanelProps> {
|
|||||||
const {
|
const {
|
||||||
type,
|
type,
|
||||||
className,
|
className,
|
||||||
|
style,
|
||||||
data,
|
data,
|
||||||
header,
|
header,
|
||||||
body,
|
body,
|
||||||
|
Loading…
Reference in New Issue
Block a user