<el-steps :active="active" finish-status="success" :space="200">
     <el-step :title= "item" v-for="item in stepTitle"></el-step>
</el-steps>

主要是这个for循环 以前一直以为

循环只能

<span  v-for="item in stepTitle">
   <el-step :title= "item" ></el-step>
  </span>

 

Logo

Vue社区为您提供最前沿的新闻资讯和知识内容

更多推荐