首页 > 技术文章 > 如何使滚动条保持在页面底部
lyraLee 2019-05-06 17:49 原文
在componentDidUpdate中获取目标dom,使dom.scrollTop = dom.scrollHeight