element ui step步骤条使用插槽为某一步骤后面显示操
作者:
O人心 | 来源:发表于
2021-07-09 15:24 被阅读0次
![](https://img.haomeiwen.com/i19588237/ec72cd2e359eeade.png)
image.png
只要是物业审核的进度,后面就要显示操作按钮
element ui step组件提供了三种插槽分别是icon
、title
、description
,下面我就是使用了description
插槽来处理这个问题的
<el-step
v-for="(item, index) in applicationProgressList"
:key="index"
:title="item.lable"
:description="item.startTime"
>
<template slot="description">
<div
class="downloadList"
v-if="item.lable.indexOf('物业') != -1"
@click="downLoadSheet"
>
<el-button type="primary">下载清单</el-button>
</div>
</template>
</el-step>
本文标题:element ui step步骤条使用插槽为某一步骤后面显示操
本文链接:https://www.haomeiwen.com/subject/oqufpltx.html
网友评论