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

24 lines
536 B
Vue

<docs>
---
order: 6
title:
zh-CN: 步骤运行错误
en-US: Error status
---
## zh-CN
使用 Steps `status` 属性来指定当前步骤的状态
## en-US
By using `status` of `Steps`, you can specify the state for current step.
</docs>
<template>
<a-steps :current="1" status="error">
<a-step title="Finished" description="This is a description." />
<a-step title="In Progress" description="This is a description." />
<a-step title="Waiting" description="This is a description." />
</a-steps>
</template>