Fix badge initial position jump bug again, close #3709

This commit is contained in:
afc163 2016-11-03 16:58:51 +08:00
parent 5fb01c8300
commit d44271ce45

View File

@ -89,7 +89,7 @@ export default class Badge extends React.Component<BadgeProps, any> {
<Animate
component=""
showProp="data-show"
transitionName={`${prefixCls}-zoom`}
transitionName={children ? `${prefixCls}-zoom` : ''}
transitionAppear
>
{