Open LLoyou00 opened 1 month ago
在 home 页面滚动到底部,然后跳转到 main-detail ,main-detail也会有一定的滚动,为了复现,我在 main-detail 页面额外填充了一些内容,撑开高度
在 onForward 中加入 window.scrollTo(0, 0) 可以暂时性的解决这个问题
好的,有空我看看~
在 home 页面滚动到底部,然后跳转到 main-detail ,main-detail也会有一定的滚动,为了复现,我在 main-detail 页面额外填充了一些内容,撑开高度