Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo837 committed May 11, 2020
1 parent ba8797f commit 92886f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Step.jsx
Expand Up @@ -62,9 +62,9 @@ export default class Step extends React.Component {
} else if (icons && icons.error && status === 'error') {
iconNode = <span className={`${prefixCls}-icon`}>{icons.error}</span>;
} else if (icon || status === 'finish' || status === 'error') {
iconNode = <span className={iconClassName} />;
iconNode = <span className={iconClassName}>{showNumber ? stepNumber : ''}</span>;
} else {
iconNode = <span className={`${prefixCls}-icon`}>{showNumber ? stepNumber : ''}</span>;
iconNode = <span className={`${prefixCls}-icon`}>{stepNumber}</span>;
}

return iconNode;
Expand Down

0 comments on commit 92886f6

Please sign in to comment.