实现效果:

代码如下:
在el-table里加入这个就可以了,需要拿到值可以用scope.$index
<el-table-column type="index" label="序号" show-overflow-tooltip="true" min-width="40"><template #default="scope"><img src="../assets/main/1.png" />{{ scope.$index + 1 }}</template>
</el-table-column>