typo:fieldSet (#1850)

This commit is contained in:
吴多益 2021-04-22 10:55:55 +08:00 committed by GitHub
parent 840e8e8faf
commit 8cb867ffc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -82,7 +82,7 @@ export class GridRenderer extends Grid<GridProps> {
store
} = this.props;
if (node && !node.type && (node.controls || node.tabs || node.feildSet)) {
if (node && !node.type && (node.controls || node.tabs || node.fieldSet)) {
return (
<div className={cx(`Grid-form Form--${node.mode || 'normal'}`)}>
{renderFormItems(

View File

@ -92,7 +92,7 @@ export class HBoxRenderer extends React.Component<HBoxProps, any> {
renderChild(region: string, node: Schema, index: number) {
const {render, renderFormItems, formMode, store, $path} = this.props;
if (node && !node.type && (node.controls || node.tabs || node.feildSet)) {
if (node && !node.type && (node.controls || node.tabs || node.fieldSet)) {
return renderFormItems(
node as any,
($path as string).replace(/^.*form\//, ''),

View File

@ -119,7 +119,7 @@ export class ServiceRenderer extends BasicService {
body: schema,
controls,
tabs,
feildSet,
fieldSet,
renderFormItems,
classnames: cx
} = this.props;
@ -128,13 +128,13 @@ export class ServiceRenderer extends BasicService {
schema || {
controls,
tabs,
feildSet
fieldSet
};
return (
finnalSchema &&
!finnalSchema.type &&
(finnalSchema.controls || finnalSchema.tabs || finnalSchema.feildSet) &&
(finnalSchema.controls || finnalSchema.tabs || finnalSchema.fieldSet) &&
renderFormItems
);
}
@ -146,7 +146,7 @@ export class ServiceRenderer extends BasicService {
body: schema,
controls,
tabs,
feildSet,
fieldSet,
renderFormItems,
formMode,
classnames: cx
@ -157,7 +157,7 @@ export class ServiceRenderer extends BasicService {
schema || {
controls,
tabs,
feildSet
fieldSet
};
return (