mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
1.1.x FieldSet 补充 disabled (#2106)
This commit is contained in:
parent
b28976cbd6
commit
8c8f295c93
@ -98,7 +98,8 @@ export default class FieldSetControl extends React.Component<
|
|||||||
$path,
|
$path,
|
||||||
classnames: cx,
|
classnames: cx,
|
||||||
store,
|
store,
|
||||||
formClassName
|
formClassName,
|
||||||
|
disabled
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
if (!controls) {
|
if (!controls) {
|
||||||
@ -108,7 +109,8 @@ export default class FieldSetControl extends React.Component<
|
|||||||
let props: any = {
|
let props: any = {
|
||||||
store,
|
store,
|
||||||
data: store!.data,
|
data: store!.data,
|
||||||
render
|
render,
|
||||||
|
disabled
|
||||||
};
|
};
|
||||||
mode && (props.mode = mode);
|
mode && (props.mode = mode);
|
||||||
typeof collapsable !== 'undefined' && (props.collapsable = collapsable);
|
typeof collapsable !== 'undefined' && (props.collapsable = collapsable);
|
||||||
|
Loading…
Reference in New Issue
Block a user