form 样式调整

This commit is contained in:
2betop 2021-01-28 14:30:48 +08:00
parent 9dd69d128a
commit 0cb5c8e3ab
2 changed files with 1 additions and 3 deletions

View File

@ -76,7 +76,7 @@ $Wizard-steps-liAfterBorder: none !important;
--Page-header-paddingX: #{px2rem(20px)};
--Page-header-paddingY: #{px2rem(10px)};
--Form-item-gap: #{px2rem(10px)};
--Form-item-gap: #{px2rem(15px)};
--Form-input-height: #{px2rem(30px)};
--Form-input-onFocused-bg: var(--white);
--Form-input-borderRadius: 0;

View File

@ -1346,8 +1346,6 @@ export default class Form extends React.Component<FormProps, object> {
classPrefix
} = this.props;
console.log(store.restErrors);
const WrapperComponent =
this.props.wrapperComponent ||
(/(?:\/|^)form\//.test($path as string) ? 'div' : 'form');