效果图:
![在这里插入图片描述](https://img-blog.csdnimg.cn/8cb793ceba674fb8a3fa06aa1acfe618.png)
原因:
由于table表最后一列设置了fixed属性导致的
<el-table-column label="操作" width="80" fixed="right">
</el-table-column>
解决办法:
方法一:
去掉fixed属性
方法二:
在app.vue中添加全局样式
// 当table表右边列有fixed时,会滑动条出现溢出
.el-table .el-table__fixed-right-patch{
background: #f5f7fa;//颜色和表头颜色保持一致
}