mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
[new feature] Step: add active-icon slot (#3193)
This commit is contained in:
@@ -43,7 +43,9 @@ export default sfc({
|
||||
{status !== 'process' ? (
|
||||
<i class={bem('circle')} />
|
||||
) : (
|
||||
<Icon name={activeIcon} style={{ color: activeColor }} />
|
||||
this.slots('active-icon') || (
|
||||
<Icon name={activeIcon} style={{ color: activeColor }} />
|
||||
)
|
||||
)}
|
||||
</div>
|
||||
<div class={bem('line')} />
|
||||
|
||||
Reference in New Issue
Block a user