fix:amis-saas-6464 [Bug] 「Bug」「页面编辑器」bug汇总

Change-Id: Idd9d4c89f8b335aba9ede32e9468ab915dbb585e
This commit is contained in:
jiatianqi 2022-09-09 12:22:55 +08:00
parent 9e9594e745
commit 7ae2c861e6

View File

@ -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',