You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/vc-steps/demo/composable.vue

25 lines
764 B

7 years ago
<script>
import Steps, { Step } from '../index';
import '../assets/index.less';
import '../assets/iconfont.less';
7 years ago
export default {
data () {
return {
description: '这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊',
};
7 years ago
},
render () {
const { description } = this;
7 years ago
return (
<Steps current={1}>
<Step title='已完成' description={description} />
<Step title='进行中' description={description} />
<Step title='进行中' description={description} style={{ fontWeight: 'bold', fontStyle: 'italic' }}/>
<Step title='待运行' description={description} />
</Steps>
);
7 years ago
},
};
7 years ago
</script>