el-table 设置fixed:right纵向超出显示滚动条时,表格出现格子错位的问题

官网有doLayout方法 用法是

javascript 复制代码
  this.$nextTick(() => {
              this.$refs.myTable.dolayout()
          })

对我这个而言,没起作用

第二种方法是:有用!!!!!

css 复制代码
.el-table__fixed-body-wrapper .el-table__body{
  padding-bottom: 20px !important;
}
相关推荐
ruanCat1 小时前
Prettier 明明执行成功,Markdown 为什么还是没变?一次插件误诊复盘
前端·javascript·node.js
软件开发技术深度爱好者2 小时前
在线学习实践 TypeScript 的官方Playground(演练场)使用介绍
javascript·学习·typescript