diff --git a/src/components/Form/index.jsx b/src/components/Form/index.jsx index 3b78fcc6..60533d69 100644 --- a/src/components/Form/index.jsx +++ b/src/components/Form/index.jsx @@ -517,7 +517,7 @@ export default class BaseForm extends React.Component { renderTips() { if (this.tips) { return ( -
+
{this.tips}
@@ -534,8 +534,14 @@ export default class BaseForm extends React.Component { if (this.isStep || this.isModal) { return null; } + const footerStyle = {}; + if (this.tips) { + const height = + ((document.getElementById('tips') || {}).clientHeight || 35) + 16; + footerStyle.bottom = height; + } return ( -
+
{this.renderFooterLeft()}