vue中步骤条

<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>

猜你喜欢

转载自blog.csdn.net/qq_39692513/article/details/81191375
今日推荐