Table of contents
Screenshot of the problem
Fixed action bar misalignment
solution
- First check whether the width you set for the action bar is enough
- Re-render the dom of el-table (the solution I use)
<!-- html -->
<el-table ref="multipleTable">
</el-table>
// js
// 调用doLayout方法对表格dom重新渲染
this.$refs.multipleTable.doLayout();