ant-design-vue/components/vc-steps/demo/errorStep.vue

26 lines
734 B
Vue
Raw Normal View History

2018-03-09 10:52:31 +00:00
<script>
2019-01-12 03:33:27 +00:00
import Steps, { Step } from '../index';
import '../assets/index.less';
import '../assets/iconfont.less';
2018-03-09 10:52:31 +00:00
export default {
2019-09-28 12:45:07 +00:00
data() {
2018-03-09 10:52:31 +00:00
return {
2019-09-28 12:45:07 +00:00
description:
'这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊',
2019-01-12 03:33:27 +00:00
};
2018-03-09 10:52:31 +00:00
},
2019-09-28 12:45:07 +00:00
render() {
2019-01-12 03:33:27 +00:00
const { description } = this;
2018-03-09 10:52:31 +00:00
return (
2019-09-28 12:45:07 +00:00
<Steps current={2} status="error">
<Step title="已完成" description={description} />
<Step title="进行中" description={description} />
<Step title="待运行" description={description} />
<Step title="待运行" description={description} />
2018-03-09 10:52:31 +00:00
</Steps>
2019-01-12 03:33:27 +00:00
);
2018-03-09 10:52:31 +00:00
},
2019-01-12 03:33:27 +00:00
};
2018-03-09 10:52:31 +00:00
</script>