fix: vc-steps icon

pull/309/head
wangxueliang 2018-12-15 16:06:00 +08:00
parent 20a6973178
commit 2a64547d26
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ export default {
render () { render () {
const { const {
prefixCls, itemWidth, prefixCls, itemWidth,
status = 'wait', icon, tailContent, status = 'wait', tailContent,
adjustMarginRight, adjustMarginRight,
} = getOptionProps(this) } = getOptionProps(this)
@ -89,7 +89,7 @@ export default {
const classString = { const classString = {
[`${prefixCls}-item`]: true, [`${prefixCls}-item`]: true,
[`${prefixCls}-item-${status}`]: true, [`${prefixCls}-item-${status}`]: true,
[`${prefixCls}-item-custom`]: icon, [`${prefixCls}-item-custom`]: getComponentFromProp(this, 'icon'),
} }
const stepProps = { const stepProps = {
class: classString, class: classString,