ant-design-vue/components/steps/demo/simple.vue

30 lines
584 B
Vue

<docs>
---
order: 0
title:
zh-CN: 基本用法
en-US: Basic
---
## zh-CN
简单的步骤条
## en-US
The most basic step bar.
</docs>
<template>
<a-steps :current="1">
<a-step>
<!-- <span slot="title">Finished</span> -->
<template #title>Finished</template>
<template #description>
<span>This is a description.</span>
</template>
</a-step>
<a-step title="In Progress" sub-title="Left 00:00:08" description="This is a description." />
<a-step title="Waiting" description="This is a description." />
</a-steps>
</template>