<el-table-column type="expand" width="150">
<template slot-scope="props">
{{props.$index}}
</template>
</el-table-column>
<el-table-column type="expand" width="150">
<template slot-scope="props">
{{props.$index}}
</template>
</el-table-column>
本文标题:element-ui表格如何在模板中获取当前行的index索引
本文链接:https://www.haomeiwen.com/subject/awmujctx.html
网友评论