elementUI 表格翻页后,滚动条回到顶部
在页面翻页触发的方法后面添加(记得现在table上添加 ref='table'
)
this.$nextTick(() => {
this.$refs.table.bodyWrapper.scrollTop = 0
})
原文链接:https://blog.csdn.net/weixin_39143969/article/details/90030551
ref='table'
)this.$nextTick(() => {
this.$refs.table.bodyWrapper.scrollTop = 0
})
原文链接:https://blog.csdn.net/weixin_39143969/article/details/90030551