实现方案:通过使用自定义表头的方式手动写一个checkbox,然后设为禁用。
代码:
<el-table
:border="true"
:data="tableData"
>
<el-table-column width="50" align="center">
<template slot="header">
<el-checkbox disabled />
</template>
<template slot-scope="scope">
<el-checkbox />
</template>
</el-table-column>
</el-table>
实现效果如下: