<docs>
---
order: 9
title:
zh-CN: 可点击
en-US: Clickable
## zh-CN
设置 `v-model` 后,Steps 变为可点击状态。
## en-US
Setting `v-model` makes Steps clickable.
</docs>
<template>
<div>
<a-steps
v-model:current="current"
:items="[
{
title: 'Step 1',
description,
},
title: 'Step 2',
title: 'Step 3',
]"
></a-steps>
<a-divider />
direction="vertical"
</div>
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue';
export default defineComponent({
setup() {
const current = ref<number>(0);
return {
current,
description: 'This is a description.',
};
});
</script>