mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-12 04:13:13 +08:00
Remove extra update
This commit is contained in:
parent
c66062edb4
commit
7cfd9b2bcb
@ -2,7 +2,6 @@ import React from 'react';
|
||||
import { findDOMNode } from 'react-dom';
|
||||
import PropTypes from 'prop-types';
|
||||
import classNames from 'classnames';
|
||||
import Animate from 'rc-animate';
|
||||
import PureRenderMixin from 'rc-util/lib/PureRenderMixin';
|
||||
import Row from '../grid/row';
|
||||
import Col, { ColProps } from '../grid/col';
|
||||
@ -126,15 +125,11 @@ export default class FormItem extends React.Component<FormItemProps, any> {
|
||||
renderHelp() {
|
||||
const prefixCls = this.props.prefixCls;
|
||||
const help = this.getHelpMsg();
|
||||
const children = help ? (
|
||||
<div className={`${prefixCls}-explain`} key="help">
|
||||
{help}
|
||||
</div>
|
||||
) : null;
|
||||
return (
|
||||
<Animate transitionName="show-help" component="" transitionAppear key="help">
|
||||
{children}
|
||||
</Animate>);
|
||||
return help ? (
|
||||
<div className={`${prefixCls}-explain`} key="help">
|
||||
{help}
|
||||
</div>
|
||||
) : null;
|
||||
}
|
||||
|
||||
renderExtra() {
|
||||
|
Loading…
Reference in New Issue
Block a user