From 2a64547d26f351d9412d38550b4b6d13e81f9236 Mon Sep 17 00:00:00 2001 From: wangxueliang Date: Sat, 15 Dec 2018 16:06:00 +0800 Subject: [PATCH] fix: vc-steps icon --- components/vc-steps/Step.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/vc-steps/Step.jsx b/components/vc-steps/Step.jsx index 7a7ac4a35..7bb181993 100644 --- a/components/vc-steps/Step.jsx +++ b/components/vc-steps/Step.jsx @@ -79,7 +79,7 @@ export default { render () { const { prefixCls, itemWidth, - status = 'wait', icon, tailContent, + status = 'wait', tailContent, adjustMarginRight, } = getOptionProps(this) @@ -89,7 +89,7 @@ export default { const classString = { [`${prefixCls}-item`]: true, [`${prefixCls}-item-${status}`]: true, - [`${prefixCls}-item-custom`]: icon, + [`${prefixCls}-item-custom`]: getComponentFromProp(this, 'icon'), } const stepProps = { class: classString,