设置element-ui table 点击分页table滚到顶部

设置table的 ref='multipleTable'
//切换分页的方法加上下面这句,table就能自动滚到顶部
this.$refs.multipleTable.bodyWrapper.scrollTop = 0;

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2021-05-05
  • 2021-09-15
相关资源
相似解决方案