element ui 获取下标通用方法

<el-table-column label="操作" header-align="center" width="50">
                  <template slot-scope="scope">
                       <el-button  type="text" size="small"  @click="deleteProject(scope.$index)" >删除项</el-button> 
                  </template>
</el-table-column>

猜你喜欢

转载自blog.csdn.net/qq_36457575/article/details/81304344
今日推荐