Skip to content

Commit

Permalink
docs: ✏️ 增加steps设置激活项的介绍
Browse files Browse the repository at this point in the history
  • Loading branch information
Moonofweisheng committed Mar 23, 2024
1 parent e487ced commit 7c0d36c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/component/steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@
<wd-step title="步骤2" description="登录账号并绑定手机" />
<wd-step title="步骤3" description="完善个人信息" />
</wd-steps>
<wd-button size="small" @click="nextStep">下一步</wd-button>
```
```ts
const active = ref<number>(0)

function nextStep() {
active.value = active.value + 1
}

```

## 修改图标
Expand Down

0 comments on commit 7c0d36c

Please sign in to comment.