记录,直接上代码 <div style="display: flex; flex-direction: column"> <div style="flex: auto; position: relative"> <el-table style="position: absolute" ...其它属性 ></el-table> </div> </div>