diff --git a/components/badge/index.tsx b/components/badge/index.tsx index 7922e180fb..229a520d15 100644 --- a/components/badge/index.tsx +++ b/components/badge/index.tsx @@ -85,7 +85,7 @@ export default class Badge extends React.Component { 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 { className={scrollNumberCls} count={displayCount} displayComponent={this.renderDispayComponent()} // }> - title={this.getScollNumberTitle()} + title={this.getScrollNumberTitle()} style={this.getStyleWithOffset()} key="scrollNumber" />