From 23beeae94492c836f9a412168018627993ecc9c0 Mon Sep 17 00:00:00 2001 From: qianchuan Date: Wed, 17 Aug 2022 11:47:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=B1=9E=E6=80=A7=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I868818dadb55e6f0e7fe79730f667fc23f5fe334 --- packages/amis-editor/src/renderer/APIControl.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 (