element-ui table 底部滚动条问题

1、将 .el-table 标签css属性中的
 position: relative; width: 100%; max-width: 100%;
修改成
position: absolute; width: auto; max-width: none;
2、将 .el-table 父标签添加css属性
position: relative; overflow: auto;

tips:属性更改是全局的,不要写在scoped内。
 
posted @ 2018-11-15 13:55  青芒灬  阅读(11252)  评论(0编辑  收藏  举报