mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 20:39:07 +08:00
typo:fieldSet (#1850)
This commit is contained in:
parent
840e8e8faf
commit
8cb867ffc9
@ -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(
|
||||
|
@ -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\//, ''),
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user