<el-table-column type="index" width="40" label="序号" align="center">
<template scope="scope">
<span>{{scope.$index + 1}}</span>
</template>
</el-table-column>
element UI table表格自动生成序号
最新推荐文章于 2024-02-01 17:11:34 发布
<el-table-column type="index" width="40" label="序号" align="center">
<template scope="scope">
<span>{{scope.$index + 1}}</span>
</template>
</el-table-column>