update badge open max 99

This commit is contained in:
jljsj 2015-11-20 14:42:17 +08:00
parent 0a1c8ba811
commit 55b9ec3feb

View File

@ -11,7 +11,7 @@ class AntBadge extends React.Component {
let { count, prefixCls } = this.props;
const dot = this.props.dot;
//count = count >= 100 ? '99+' : count;
count = count >= 100 ? '99+' : count;
// dot mode don't need count
if (dot) {