From 7ae2c861e688e6893c6b25001d34f7cb3ddda544 Mon Sep 17 00:00:00 2001 From: jiatianqi Date: Fri, 9 Sep 2022 12:22:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:amis-saas-6464=20[Bug]=20=E3=80=8CBug?= =?UTF-8?q?=E3=80=8D=E3=80=8C=E9=A1=B5=E9=9D=A2=E7=BC=96=E8=BE=91=E5=99=A8?= =?UTF-8?q?=E3=80=8Dbug=E6=B1=87=E6=80=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Idd9d4c89f8b335aba9ede32e9468ab915dbb585e --- .../amis-editor/src/renderer/SwitchMoreControl.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/packages/amis-editor/src/renderer/SwitchMoreControl.tsx b/packages/amis-editor/src/renderer/SwitchMoreControl.tsx index 4448c1f8a..c4d0d7970 100644 --- a/packages/amis-editor/src/renderer/SwitchMoreControl.tsx +++ b/packages/amis-editor/src/renderer/SwitchMoreControl.tsx @@ -222,15 +222,8 @@ export default class SwitchMore extends React.Component< } renderActions() { - const { - render, - removable, - disabled, - form, - formType, - hiddenOnDefault, - bulk - } = this.props; + const {render, removable, disabled, form, formType, hiddenOnDefault, bulk} = + this.props; const {checked, show} = this.state; if (!form || !checked || disabled) { @@ -379,7 +372,6 @@ export default class SwitchMore extends React.Component< type: 'form', wrapWithPanel: false, panelClassName: 'border-none shadow-none mb-0', - bodyClassName: 'p-none', actionsClassName: 'border-none mt-2.5', wrapperComponent: 'div', mode: 'horizontal',