Skip to content

Commit 2a64547

Browse files
committed
fix: vc-steps icon
1 parent 20a6973 commit 2a64547

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/vc-steps/Step.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default {
7979
render () {
8080
const {
8181
prefixCls, itemWidth,
82-
status = 'wait', icon, tailContent,
82+
status = 'wait', tailContent,
8383
adjustMarginRight,
8484
} = getOptionProps(this)
8585

@@ -89,7 +89,7 @@ export default {
8989
const classString = {
9090
[`${prefixCls}-item`]: true,
9191
[`${prefixCls}-item-${status}`]: true,
92-
[`${prefixCls}-item-custom`]: icon,
92+
[`${prefixCls}-item-custom`]: getComponentFromProp(this, 'icon'),
9393
}
9494
const stepProps = {
9595
class: classString,

0 commit comments

Comments
 (0)