Skip to content

Commit

Permalink
fix(Steps): 移除无用属性设置
Browse files Browse the repository at this point in the history
  • Loading branch information
renzp94 committed Sep 26, 2023
1 parent 6d6bd91 commit 126ab62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/adorn-ui/src/Steps/Steps.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<div class={classList} {...$$restProps}>
{#each items as item, index}
{#if !item.icon}
<Item {...item} status={getItemStatus(index)}>
<Item {...item}>
<span
class={`adorn-step-item-${progressDot ? 'dot' : 'index'} ${getItemStatus(index)}`}
class:dot={progressDot}
Expand All @@ -55,7 +55,7 @@
</span>
</Item>
{:else}
<Item {...item} status={getItemStatus(index)} />
<Item {...item} />
{/if}
{/each}
</div>
Expand Down

0 comments on commit 126ab62

Please sign in to comment.