element el-steps步骤条点击事件
1 <el-steps :active="isActive-1" finish-status="success" process-status="finish" space="20%" > 2 <el-step :title="item.name" v-for="(item, index) in stepData" :key="index" @click.native="tabSwitchBtn(item)"></el-step> 3 </el-steps>
css:
1 .el-step__head:hover { 2 color: #67c23a; 3 border-color: #67c23a; 4 }
@click.native绑定步骤条的点击事件