1.1.x FieldSet 补充 disabled (#2106)

This commit is contained in:
RickCole 2021-06-17 11:13:41 +08:00 committed by GitHub
parent b28976cbd6
commit 8c8f295c93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,8 @@ export default class FieldSetControl extends React.Component<
$path,
classnames: cx,
store,
formClassName
formClassName,
disabled
} = this.props;
if (!controls) {
@ -108,7 +109,8 @@ export default class FieldSetControl extends React.Component<
let props: any = {
store,
data: store!.data,
render
render,
disabled
};
mode && (props.mode = mode);
typeof collapsable !== 'undefined' && (props.collapsable = collapsable);