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

26 lines
800 B
Vue
Raw Normal View History

2018-03-07 02:50:11 +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-07 02:50:11 +00:00
export default {
data () {
return {
description: '这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊',
2019-01-12 03:33:27 +00:00
};
2018-03-07 02:50:11 +00:00
},
render () {
2019-01-12 03:33:27 +00:00
const { description } = this;
2018-03-07 02:50:11 +00:00
return (
<Steps labelPlacement='vertical' current={1}>
<Step title='已完成' description={description} />
<Step title='进行中' description={description} />
<Step title='待运行' description={description} />
<Step title='待运行' description={description} />
<Step title='待运行' description={description} />
</Steps>
2019-01-12 03:33:27 +00:00
);
2018-03-07 02:50:11 +00:00
},
2019-01-12 03:33:27 +00:00
};
2018-03-07 02:50:11 +00:00
</script>