1.  
    1.设置table的ref为tableList
  2.  
     
  3.  
    2.设置滚动至顶部
  4.  
  5. this.$nextTick(()=>{
        this.$refs.tableList.bodyWrapper.scrollTop =0;
    })
    

      

  6. 3.设置滚动至底部
  7.  
    this.$nextTick(()=>{
      this.$refs.tableList.bodyWrapper.scrollTop =this.$refs.tableList.bodyWrapper.scrollHeight;Ï
    })
    

      

相关文章:

  • 2022-01-22
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-24
  • 2022-12-23
  • 2021-11-17
  • 2021-11-17
  • 2022-12-23
  • 2022-01-31
  • 2021-11-17
相关资源
相似解决方案