给表格添加高度即可:
<el-table
:max-height="tableHeight"
>
这个高度你也可以每次加载页面时动态计算
this.tableHeight = window.innerHeight - 290;
给表格添加高度即可:
<el-table
:max-height="tableHeight"
>
这个高度你也可以每次加载页面时动态计算
this.tableHeight = window.innerHeight - 290;