fix: vc-steps icon
parent
20a6973178
commit
2a64547d26
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue