diff --git a/packages/amis-editor/src/renderer/APIControl.tsx b/packages/amis-editor/src/renderer/APIControl.tsx index 173fc1ddb..2c0f298ae 100644 --- a/packages/amis-editor/src/renderer/APIControl.tsx +++ b/packages/amis-editor/src/renderer/APIControl.tsx @@ -369,8 +369,9 @@ export default class APIControl extends React.Component< @autobind renderHeader() { - const {render, label, labelRemark, useMobileUI, popOverContainer, env} = + const {render, labelRemark, useMobileUI, popOverContainer, env} = this.props; + const label: any = this.props.label; const classPrefix = env?.theme?.classPrefix; // const actionsDom = @@ -386,7 +387,7 @@ export default class APIControl extends React.Component< return (