Browse Source

fix a spelling mistake

pull/14008/head
shangyuan.ning 6 years ago
committed by 偏右
parent
commit
8288e8b82c
  1. 4
      components/badge/index.tsx

4
components/badge/index.tsx

@ -85,7 +85,7 @@ export default class Badge extends React.Component<BadgeProps, any> {
return this.getNumberedDispayCount();
}
getScollNumberTitle() {
getScrollNumberTitle() {
const { title, count } = this.props;
if (title) {
return title;
@ -146,7 +146,7 @@ export default class Badge extends React.Component<BadgeProps, any> {
className={scrollNumberCls}
count={displayCount}
displayComponent={this.renderDispayComponent()} // <Badge status="success" count={<Icon type="xxx" />}></Badge>
title={this.getScollNumberTitle()}
title={this.getScrollNumberTitle()}
style={this.getStyleWithOffset()}
key="scrollNumber"
/>

Loading…
Cancel
Save